C# Class WinRTXamlToolkit.Common.ImplicitStyleSelector

Inheritance: Windows.UI.Xaml.Controls.StyleSelector
Datei anzeigen Open project: xyzzer/WinRTXamlToolkit

Public Methods

Method Description
ImplicitStyleSelector ( ) : System

Initializes a new instance of the ImplicitStyleSelector class.

Protected Methods

Method Description
SelectStyleCore ( object item, DependencyObject container ) : Style

When implemented by a derived class, returns a specific Style based on custom logic. This implementation gets the Style from the resource dictionary defined in the Resources property or in Application resource dictionary that has the same name as the type name of the data item.

Method Details

ImplicitStyleSelector() public method

Initializes a new instance of the ImplicitStyleSelector class.
public ImplicitStyleSelector ( ) : System
return System

SelectStyleCore() protected method

When implemented by a derived class, returns a specific Style based on custom logic. This implementation gets the Style from the resource dictionary defined in the Resources property or in Application resource dictionary that has the same name as the type name of the data item.
///
protected SelectStyleCore ( object item, DependencyObject container ) : Style
item object The content.
container Windows.UI.Xaml.DependencyObject The element to which the style is applied.
return Windows.UI.Xaml.Style