Class Binding
Implements binding definition
Inheritance
Inherited Members
Namespace: EmptyKeys.UserInterface.Data
Assembly: EmptyKeys.UserInterface.dll
Syntax
public class Binding
Constructors
Binding()
Initializes a new instance of the Binding class.
Declaration
public Binding()
Binding(DependencyProperty)
Initializes a new instance of the Binding class.
Declaration
public Binding(DependencyProperty property)
Parameters
Type | Name | Description |
---|---|---|
DependencyProperty | property | The property. |
Binding(String)
Initializes a new instance of the Binding class.
Declaration
public Binding(string path)
Parameters
Type | Name | Description |
---|---|---|
System.String | path | The path. |
Properties
Converter
Gets or sets the converter.
Declaration
public IValueConverter Converter { get; set; }
Property Value
Type | Description |
---|---|
IValueConverter | The converter. |
ElementName
Gets or sets the name of the element.
Declaration
public string ElementName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the element. |
FallbackValue
Gets or sets the fall back value.
Declaration
public object FallbackValue { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The fall back value. |
Mode
Gets or sets the mode.
Declaration
public BindingMode Mode { get; set; }
Property Value
Type | Description |
---|---|
BindingMode | The mode. |
Path
Gets the path.
Declaration
public PropertyPath Path { get; }
Property Value
Type | Description |
---|---|
PropertyPath | The path. |
PropertyName
Gets the name of the property.
Declaration
public string PropertyName { get; }
Property Value
Type | Description |
---|---|
System.String | The name of the property. |
Source
Gets or sets the source.
Declaration
public object Source { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The source. |
SourceDependencyProperty
Gets or sets the source dependency property.
Declaration
public DependencyProperty SourceDependencyProperty { get; set; }
Property Value
Type | Description |
---|---|
DependencyProperty | The source dependency property. |
StringFormat
Gets or sets the string format.
Declaration
public string StringFormat { get; set; }
Property Value
Type | Description |
---|---|
System.String | The string format. |
UseGeneratedBindings
Gets or sets a value indicating whether [use generated bindings].
Declaration
public bool UseGeneratedBindings { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Methods
CreateBindingExpression(DependencyObject, DependencyProperty)
Creates the binding expression.
Declaration
public BindingExpression CreateBindingExpression(DependencyObject target, DependencyProperty property)
Parameters
Type | Name | Description |
---|---|---|
DependencyObject | target | The target. |
DependencyProperty | property | The property. |
Returns
Type | Description |
---|---|
BindingExpression |