Class DisplayString
Represents a control to display a current string value and to update a string value.
public class DisplayString : UserControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IComponentConnector
- Inheritance
-
DisplayString
- Implements
- Inherited Members
Constructors
DisplayString()
Initializes a new instance of the DisplayString class.
public DisplayString()
Fields
ButtonCommandProperty
Identifies the ButtonCommand dependency property.
public static readonly DependencyProperty ButtonCommandProperty
Field Value
ButtonContentProperty
Identifies the ButtonContent dependency property.
public static readonly DependencyProperty ButtonContentProperty
Field Value
DescriptionProperty
Identifies the Description dependency property.
public static readonly DependencyProperty DescriptionProperty
Field Value
IsReadOnlyProperty
Identifies the IsReadOnly dependency property.
public static readonly DependencyProperty IsReadOnlyProperty
Field Value
NewValueProperty
Identifies the NewValue dependency property.
public static readonly DependencyProperty NewValueProperty
Field Value
ValueProperty
Identifies the Value dependency property.
public static readonly DependencyProperty ValueProperty
Field Value
WatermarkProperty
Identifies the Watermark dependency property.
public static readonly DependencyProperty WatermarkProperty
Field Value
Properties
ButtonCommand
Gets or sets the command for the button.
public ICommand ButtonCommand { get; set; }
Property Value
ButtonContent
Gets or sets the button content.
public object ButtonContent { get; set; }
Property Value
Description
Gets or sets the description.
public string Description { get; set; }
Property Value
IsReadOnly
Gets or sets a value indicating whether the value is editable.
public bool IsReadOnly { get; set; }
Property Value
NewValue
Gets or sets the user input value.
public string NewValue { get; set; }
Property Value
Value
Gets or sets the value.
public string Value { get; set; }
Property Value
Watermark
Gets or sets the watermark text.
public string Watermark { get; set; }
Property Value
Methods
InitializeComponent()
InitializeComponent
public void InitializeComponent()