ComponentOne Scheduler for WPF and Silverlight
SelectStyle Method (DayGroupStyleSelector)

C1.WPF.Schedule Namespace > DayGroupStyleSelector Class : SelectStyle Method
The content.
The element to which the style will be applied.
Returns the System.Windows.Style object for the specified group if it is found in resources.
Syntax
'Declaration
 
Public Overrides Function SelectStyle( _
   ByVal item As System.Object, _
   ByVal container As System.Windows.DependencyObject _
) As System.Windows.Style
public override System.Windows.Style SelectStyle( 
   System.object item,
   System.Windows.DependencyObject container
)

Parameters

item
The content.
container
The element to which the style will be applied.

Return Value

Returns an application-specific style to apply; otherwise, a null reference (Nothing in Visual Basic).
See Also

Reference

DayGroupStyleSelector Class
DayGroupStyleSelector Members