Scheduler for WPF and Silverlight | ComponentOne
C1.Silverlight.Schedule Namespace / C1SchedulerViewModel Class / FindUIForTime Method
The System.DateTime value to find the System.Windows.FrameworkElement for.

In This Topic
    FindUIForTime Method (C1SchedulerViewModel)
    In This Topic
    Returns the System.Windows.FrameworkElement corresponding to the given System.DateTime value.
    Syntax
    'Declaration
     
    
    Public Function FindUIForTime( _
       ByVal time As Date _
    ) As FrameworkElement
    public FrameworkElement FindUIForTime( 
       DateTime time
    )

    Parameters

    time
    The System.DateTime value to find the System.Windows.FrameworkElement for.

    Return Value

    A System.Windows.FrameworkElement that corresponds to the given System.DateTime value. Returns null if the System.DateTime value does not belong to displayed range, or if a System.Windows.FrameworkElement has not been generated for it.
    See Also