C# Class SevenSoftware.Windows.Controls.AdornerLabel

The label to display on the InfoTextBox.
Inheritance: System.Windows.Documents.Adorner
Mostrar archivo Open project: robertbaker/SevenUpdate Class Usage Examples

Public Methods

Method Description
AdornerLabel ( UIElement adornedElement, string label, System.Windows.Style labelStyle ) : System.Windows

Initializes a new instance of the AdornerLabel class.

Protected Methods

Method Description
ArrangeOverride ( Size finalSize ) : Size

When overridden in a derived class, positions child elements and determines a size for a derived class.

GetVisualChild ( int index ) : Visual

Overrides M:System.Windows.Media.Visual.GetVisualChild(System.Int32), and returns a child at the specified index from a collection of child elements.

MeasureOverride ( Size constraint ) : Size

Implements any custom measuring behavior for the adorner.

Method Details

AdornerLabel() public method

Initializes a new instance of the AdornerLabel class.
public AdornerLabel ( UIElement adornedElement, string label, System.Windows.Style labelStyle ) : System.Windows
adornedElement UIElement The adorned element.
label string The label.
labelStyle System.Windows.Style The label style.
return System.Windows

ArrangeOverride() protected method

When overridden in a derived class, positions child elements and determines a size for a derived class.
protected ArrangeOverride ( Size finalSize ) : Size
finalSize System.Windows.Size The final area within the parent that this element should use to arrange itself and its children.
return System.Windows.Size

GetVisualChild() protected method

Overrides M:System.Windows.Media.Visual.GetVisualChild(System.Int32), and returns a child at the specified index from a collection of child elements.
protected GetVisualChild ( int index ) : Visual
index int The zero-based index of the requested child element in the collection.
return Visual

MeasureOverride() protected method

Implements any custom measuring behavior for the adorner.
protected MeasureOverride ( Size constraint ) : Size
constraint System.Windows.Size A size to constrain the adorner to.
return System.Windows.Size