Scheduler for WPF and Silverlight | ComponentOne
C1.Silverlight.Schedule Namespace / TimeSlotGroupStyleSelector Class / SelectStyle Method
The content.
The element to which the style will be applied.

In This Topic
    SelectStyle Method (TimeSlotGroupStyleSelector)
    In This Topic
    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 Object, _
       ByVal container As DependencyObject _
    ) As Style
    public override Style SelectStyle( 
       object item,
       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