When overridden in a derived class, returns a Style based on custom logic.
Namespace:
C1.PhoneAssembly: C1.Phone (in C1.Phone.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.