Class CustomContainerStyleSelector
Holds predefined styles for an items control items' containers.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.RibbonView.dll
Syntax
public class CustomContainerStyleSelector : StyleSelector
Constructors
CustomContainerStyleSelector()
Initializes a new instance of the CustomContainerStyleSelector class.
Declaration
public CustomContainerStyleSelector()
Properties
ContainerStyles
Gets the holder of all the predefined styles.
Declaration
public IList ContainerStyles { get; }
Property Value
System.Collections.IList
|
Methods
SelectStyle(Object, DependencyObject)
When overridden this method is used for determining the Style of items.
Declaration
public override Style SelectStyle(object item, DependencyObject container)
Parameters
System.Object
item
The item for whose container is wanted. |
System.Windows.DependencyObject
container
The container for which a Style is selected. |
Returns
System.Windows.Style
The Style for the given container. |