When overridden in a derived class, returns a Style based on custom logic.
Namespace:
C1.SilverlightAssembly: C1.Silverlight (in C1.Silverlight.dll)
Syntax
C# |
---|
public virtual Style SelectStyle( Object item, DependencyObject container ) |
Visual Basic |
---|
Public Overridable Function SelectStyle ( _ item As Object, _ container As DependencyObject _ ) As Style |
Parameters
- item
- Type: System..::..Object
The content.
- container
- Type: System.Windows..::..DependencyObject
The element to which the style will be applied.