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 resource parameter allows specifying a Task, Location, Contact or Resource for which to display the date in a view with enabled grouping.

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling

 Syntax

C#  Copy Code

public void EnsureVisible (
    DateTime date,
    Resource resource
)

Visual Basic  Copy Code

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

 Parameters

date

A DateTime instance identifying the date to scroll into view.

resource

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