Scheduler for UWP | ComponentOne
C1.Xaml.Schedule Namespace / C1SchedulerViewModel Class / FindUIForTime Method
The Windows.Foundation.DateTime value to find the Windows.UI.Xaml.FrameworkElement for.

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

    Parameters

    time
    The Windows.Foundation.DateTime value to find the Windows.UI.Xaml.FrameworkElement for.

    Return Value

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