C# Class HelixToolkit.Wpf.ColorAxis

Inheritance: System.Windows.Controls.Control
显示文件 Open project: litdev1/LitDev

Public Properties

Property Type Description
BarWidthProperty System.Windows.DependencyProperty
ColorSchemeProperty System.Windows.DependencyProperty
PositionProperty System.Windows.DependencyProperty
TextMarginProperty System.Windows.DependencyProperty
TickLengthProperty System.Windows.DependencyProperty

Public Methods

Method Description
OnApplyTemplate ( ) : void

When overridden in a derived class, is invoked whenever application code or internal processes call .

Protected Methods

Method Description
AddVisuals ( ) : void

Adds the visuals.

GetTickLabels ( ) : IEnumerable

Gets the tick labels.

MeasureOverride ( Size constraint ) : Size

Measures the child elements of a T:System.Windows.Controls.Canvas in anticipation of arranging them during the M:System.Windows.Controls.Canvas.ArrangeOverride(System.Windows.Size) pass.

PropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Handles changes in properties.

UpdateVisuals ( ) : void

Updates the visuals.

Private Methods

Method Description
ColorAxis ( ) : System.Collections.Generic

Initializes static members of the ColorAxis class.

Method Details

AddVisuals() protected method

Adds the visuals.
protected AddVisuals ( ) : void
return void

GetTickLabels() protected abstract method

Gets the tick labels.
protected abstract GetTickLabels ( ) : IEnumerable
return IEnumerable

MeasureOverride() protected method

Measures the child elements of a T:System.Windows.Controls.Canvas in anticipation of arranging them during the M:System.Windows.Controls.Canvas.ArrangeOverride(System.Windows.Size) pass.
protected MeasureOverride ( Size constraint ) : Size
constraint System.Windows.Size /// An upper limit that should not be exceeded. ///
return System.Windows.Size

OnApplyTemplate() public method

When overridden in a derived class, is invoked whenever application code or internal processes call .
public OnApplyTemplate ( ) : void
return void

PropertyChanged() protected static method

Handles changes in properties.
protected static PropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject /// The sender. ///
e System.Windows.DependencyPropertyChangedEventArgs /// The instance containing the event data. ///
return void

UpdateVisuals() protected method

Updates the visuals.
protected UpdateVisuals ( ) : void
return void

Property Details

BarWidthProperty public_oe static_oe property

Identifies the BarWidth dependency property.
public static DependencyProperty,System.Windows BarWidthProperty
return System.Windows.DependencyProperty

ColorSchemeProperty public_oe static_oe property

Identifies the ColorScheme dependency property.
public static DependencyProperty,System.Windows ColorSchemeProperty
return System.Windows.DependencyProperty

PositionProperty public_oe static_oe property

Identifies the Position dependency property.
public static DependencyProperty,System.Windows PositionProperty
return System.Windows.DependencyProperty

TextMarginProperty public_oe static_oe property

Identifies the TextMargin dependency property.
public static DependencyProperty,System.Windows TextMarginProperty
return System.Windows.DependencyProperty

TickLengthProperty public_oe static_oe property

Identifies the TickLength dependency property.
public static DependencyProperty,System.Windows TickLengthProperty
return System.Windows.DependencyProperty