Identifies the
TextColor dependency property.
Syntax
Example
C# | Copy Code |
---|
//Assuming that a ScaleBar (named ScaleBar1) and a TextBox (named TextBox1) are
//previously defined, the ScaleBar1.TextColor can be bound to the TextBox1.Background.
System.Windows.Data.Binding myBinding = new System.Windows.Data.Binding("Background");
myBinding.ElementName = "TextBox1";
ScaleBar1.SetBinding(ESRI.ArcGIS.Client.ScaleBar.TextColorProperty, myBinding); |
VB.NET | Copy Code |
---|
'Assuming that a ScaleBar (named ScaleBar1) and a TextBox (named TextBox1) are
'previously defined, the ScaleBar1.TextColor can be bound to the TextBox1.Background.
Dim myBinding As System.Windows.Data.Binding = New System.Windows.Data.Binding("Background")
myBinding.ElementName = "TextBox1"
ScaleBar1.SetBinding(ESRI.ArcGIS.Client.ScaleBar.TextColorProperty, myBinding) |
Requirements
Target Platforms:Windows Phone 7
See Also