New to Telerik UI for WPFStart a free 30-day trial

Holds predefined styles for toolbar items' containers.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

C#
public class ToolBarContainerStyleSelector : StyleSelector

Inheritance: objectToolBarContainerStyleSelector

Constructors

Initializes a new instance of the ToolBarContainerStyleSelector class.

C#
public ToolBarContainerStyleSelector()

Properties

Gets the holder of all the predefined styles.

C#
public IList ContainerStyles { get; }

Methods

When overridden this method is used for determining the Style of items.

C#
public override Style SelectStyle(object item, DependencyObject container)
Parameters:itemobject

The item for whose container is wanted.

containerDependencyObject

The container for which a Style is selected.

Returns:

Style

The Style for the given container.