C# Class Glass.Design.Selection.SelectionAdorner

Inheritance: System.Windows.Documents.Adorner
Mostrar archivo Open project: SuperJMN/Glass Class Usage Examples

Public Properties

Property Type Description
LeftProperty System.Windows.DependencyProperty
TemplateProperty System.Windows.DependencyProperty
TopProperty System.Windows.DependencyProperty

Public Methods

Method Description
SelectionAdorner ( UIElement adornedElement ) : System.Windows

Protected Methods

Method Description
ArrangeOverride ( Size finalSize ) : Size
GetVisualChild ( int index ) : Visual
MeasureOverride ( Size constraint ) : Size
OnTemplateChanged ( System.Windows.Controls.ControlTemplate oldTemplate, System.Windows.Controls.ControlTemplate newTemplate ) : void

Provides derived classes an opportunity to handle changes to the Template property.

Private Methods

Method Description
OnTemplateChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Handles changes to the Template property.

SetBindings ( ) : void

Method Details

ArrangeOverride() protected method

protected ArrangeOverride ( Size finalSize ) : Size
finalSize System.Windows.Size
return System.Windows.Size

GetVisualChild() protected method

protected GetVisualChild ( int index ) : Visual
index int
return Visual

MeasureOverride() protected method

protected MeasureOverride ( Size constraint ) : Size
constraint System.Windows.Size
return System.Windows.Size

OnTemplateChanged() protected method

Provides derived classes an opportunity to handle changes to the Template property.
protected OnTemplateChanged ( System.Windows.Controls.ControlTemplate oldTemplate, System.Windows.Controls.ControlTemplate newTemplate ) : void
oldTemplate System.Windows.Controls.ControlTemplate
newTemplate System.Windows.Controls.ControlTemplate
return void

SelectionAdorner() public method

public SelectionAdorner ( UIElement adornedElement ) : System.Windows
adornedElement UIElement
return System.Windows

Property Details

LeftProperty public_oe static_oe property

Left Dependency Property
public static DependencyProperty,System.Windows LeftProperty
return System.Windows.DependencyProperty

TemplateProperty public_oe static_oe property

Template Dependency Property
public static DependencyProperty,System.Windows TemplateProperty
return System.Windows.DependencyProperty

TopProperty public_oe static_oe property

Top Dependency Property
public static DependencyProperty,System.Windows TopProperty
return System.Windows.DependencyProperty