C# Class WinRTXamlToolkit.Controls.DataVisualization.Legend

Inheritance: HeaderedItemsControl
Show file Open project: xyzzer/WinRTXamlToolkit

Public Properties

Property Type Description
ContentVisibilityProperty Windows.UI.Xaml.DependencyProperty
TitleStyleProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
Legend ( ) : Windows.UI.Xaml

Initializes a new instance of the Legend class.

Protected Methods

Method Description
OnHeaderChanged ( object oldHeader, object newHeader ) : void

Handles the OnHeaderChanged event for HeaderedItemsControl.

OnItemsChanged ( object e ) : void

Handles the CollectionChanged event for HeaderedItemsControl's ItemsSource.

Private Methods

Method Description
UpdateContentVisibility ( ) : void

Updates the ContentVisibility property to reflect the presence of content.

Method Details

Legend() public method

Initializes a new instance of the Legend class.
public Legend ( ) : Windows.UI.Xaml
return Windows.UI.Xaml

OnHeaderChanged() protected method

Handles the OnHeaderChanged event for HeaderedItemsControl.
protected OnHeaderChanged ( object oldHeader, object newHeader ) : void
oldHeader object Old header.
newHeader object New header.
return void

OnItemsChanged() protected method

Handles the CollectionChanged event for HeaderedItemsControl's ItemsSource.
protected OnItemsChanged ( object e ) : void
e object Event arguments.
return void

Property Details

ContentVisibilityProperty public static property

Identifies the ContentVisibility dependency property.
public static DependencyProperty,Windows.UI.Xaml ContentVisibilityProperty
return Windows.UI.Xaml.DependencyProperty

TitleStyleProperty public static property

Identifies the TitleStyle dependency property.
public static DependencyProperty,Windows.UI.Xaml TitleStyleProperty
return Windows.UI.Xaml.DependencyProperty