PocketPlanner Programmer's Guide

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.Compact
Assembly: PocketPlanner

 Syntax

C#

public void EnsureVisible (
    DateTime date,
    Resource reference
)

Visual Basic

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

 Parameters

date
A .NET 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