Search
Calendar.EnsureVisible Method (DateTime, Resource)
See Also
 





Ensures that the specified date is visible within the control, scrolling the contents of the control if necessary. The reference parameter allows specifying a Task, Location, Contact or Resource for which to display the date in a view with enabled grouping.

Namespace: MindFusion.Scheduling.Wpf
Assembly: MindFusion.Scheduling.Wpf

 Syntax

C#  Copy Code

public void EnsureVisible (
    DateTime date,
    Resource reference
)

Visual Basic  Copy Code

Public Sub EnsureVisible ( _
    date As DateTime, _
    reference As Resource _
)

 Parameters

date
A DateTime instance identifying the date to scroll into view.
reference
A reference to Task, Location, Contact or Resource whose group to display in the view.

 Remarks

This method does nothing if the specified date is not included in the time-period displayed in the current view.

 See Also