Table of Contents

Class DisplayString

Namespace
Loehnert.Controls
Assembly
Loehnert.Controls.dll

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

DependencyProperty

ButtonContentProperty

Identifies the ButtonContent dependency property.

public static readonly DependencyProperty ButtonContentProperty

Field Value

DependencyProperty

DescriptionProperty

Identifies the Description dependency property.

public static readonly DependencyProperty DescriptionProperty

Field Value

DependencyProperty

IsReadOnlyProperty

Identifies the IsReadOnly dependency property.

public static readonly DependencyProperty IsReadOnlyProperty

Field Value

DependencyProperty

NewValueProperty

Identifies the NewValue dependency property.

public static readonly DependencyProperty NewValueProperty

Field Value

DependencyProperty

ValueProperty

Identifies the Value dependency property.

public static readonly DependencyProperty ValueProperty

Field Value

DependencyProperty

WatermarkProperty

Identifies the Watermark dependency property.

public static readonly DependencyProperty WatermarkProperty

Field Value

DependencyProperty

Properties

ButtonCommand

Gets or sets the command for the button.

public ICommand ButtonCommand { get; set; }

Property Value

ICommand

ButtonContent

Gets or sets the button content.

public object ButtonContent { get; set; }

Property Value

object

Description

Gets or sets the description.

public string Description { get; set; }

Property Value

string

IsReadOnly

Gets or sets a value indicating whether the value is editable.

public bool IsReadOnly { get; set; }

Property Value

bool

NewValue

Gets or sets the user input value.

public string NewValue { get; set; }

Property Value

string

Value

Gets or sets the value.

public string Value { get; set; }

Property Value

string

Watermark

Gets or sets the watermark text.

public string Watermark { get; set; }

Property Value

string

Methods

InitializeComponent()

InitializeComponent

public void InitializeComponent()