Class BindingBase
Provides an abstract base class for the Binding class.
Implements
IMarkupExtension<System.Object>
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: System.Windows.Data
Assembly: OpenSilver.dll
Syntax
public abstract class BindingBase : MarkupExtension, IMarkupExtension<object>
Constructors
| Improve this Doc View SourceBindingBase()
Initializes a new instance of the BindingBase class.
Declaration
protected BindingBase()
Fields
| Improve this Doc View Source_stringFormat
Declaration
protected string _stringFormat
Field Value
Type | Description |
---|---|
System.String |
Properties
| Improve this Doc View SourceFallbackValue
Gets or sets the value to use when the binding is unable to return a value.
Declaration
public object FallbackValue { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
StringFormat
Gets or sets a string that specifies how to format the binding if it displays the bound value as a string.
Declaration
public string StringFormat { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TargetNullValue
Gets or sets the value that is used in the target when the value of the source is null.
Declaration
public object TargetNullValue { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Methods
| Improve this Doc View SourceCheckSealed()
Declaration
protected void CheckSealed()
ProvideValue(IServiceProvider)
Declaration
public override object ProvideValue(IServiceProvider serviceProvider)
Parameters
Type | Name | Description |
---|---|---|
System.IServiceProvider | serviceProvider |
Returns
Type | Description |
---|---|
System.Object |