C# Class Open.Core.UI.Controls.Placeholder

Generic placeholder control to use when constructing.
Inheritance: System.Windows.Controls.UserControl, INotifyDisposed
Mostra file Open project: philcockfield/Open.TestHarness.SL Class Usage Examples

Public Properties

Property Type Description
ColorProperty System.Windows.DependencyProperty
CornerRadiusProperty System.Windows.DependencyProperty
ShowInstanceCountProperty System.Windows.DependencyProperty
TextProperty System.Windows.DependencyProperty

Public Methods

Method Description
Dispose ( ) : void
Placeholder ( ) : System
ToString ( ) : string

Protected Methods

Method Description
Dispose ( bool isDisposing ) : void

Private Methods

Method Description
OnDisposed ( ) : void
UpdateColors ( ) : void
UpdateInstanceCountVisibility ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool isDisposing ) : void
isDisposing bool
return void

Placeholder() public method

public Placeholder ( ) : System
return System

ToString() public method

public ToString ( ) : string
return string

Property Details

ColorProperty public_oe static_oe property

Gets or sets the color of the placeholder.
public static DependencyProperty,System.Windows ColorProperty
return System.Windows.DependencyProperty

CornerRadiusProperty public_oe static_oe property

Gets or sets the corner radius of the control.
public static DependencyProperty,System.Windows CornerRadiusProperty
return System.Windows.DependencyProperty

ShowInstanceCountProperty public_oe static_oe property

Gets or sets whether a count of the instance is displayed (helpful for identifiying when items are recreated).
public static DependencyProperty,System.Windows ShowInstanceCountProperty
return System.Windows.DependencyProperty

TextProperty public_oe static_oe property

Gets or sets the text that is displayed within the placeholder.
public static DependencyProperty,System.Windows TextProperty
return System.Windows.DependencyProperty