Delen via


SourceTextChangeEventArgs.Offset Property

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets the zero-based offset from the beginning of the file where the change occurred.

Namespace:  Microsoft.Windows.Design.Documents
Assembly:  Microsoft.Windows.Design.Markup (in Microsoft.Windows.Design.Markup.dll)

Syntax

'Declaration
Public ReadOnly Property Offset As Integer
'Usage
Dim instance As SourceTextChangeEventArgs 
Dim value As Integer 

value = instance.Offset
public int Offset { get; }
public:
property int Offset {
    int get ();
}
public function get Offset () : int

Property Value

Type: System.Int32
A zero-based offset from the beginning of the file where the change occurred or -1 if the location of the change is not known.

.NET Framework Security

See Also

Reference

SourceTextChangeEventArgs Class

SourceTextChangeEventArgs Members

Microsoft.Windows.Design.Documents Namespace

Other Resources

WPF Designer Extensibility