Class PropertyPath
Implements parsing of path and set/get value for binding
Inheritance
System.Object
PropertyPath
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: EmptyKeys.UserInterface.Data
Assembly: EmptyKeys.UserInterface.dll
Syntax
public class PropertyPath
Constructors
PropertyPath(String)
Initializes a new instance of the PropertyPath class.
Declaration
public PropertyPath(string path)
Parameters
Type | Name | Description |
---|---|---|
System.String | path | The path. |
Properties
Path
Gets or sets the path.
Declaration
public string Path { get; set; }
Property Value
Type | Description |
---|---|
System.String | The path. |
PathValues
Gets the path values.
Declaration
public List<object> PathValues { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.Object> | The path values. |
UseGeneratedBindings
Gets or sets a value indicating whether [use generated bindings].
Declaration
public bool UseGeneratedBindings { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Methods
GetValue(Object)
Gets the value.
Declaration
public object GetValue(object data)
Parameters
Type | Name | Description |
---|---|---|
System.Object | data | The data. |
Returns
Type | Description |
---|---|
System.Object |
SetValue(Object, Object)
Sets the value.
Declaration
public void SetValue(object data, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | data | The data. |
System.Object | value | The value. |