New to Telerik UI for WinFormsStart a free 30-day trial

Represents a reminder component that manages and displays reminder notifications for scheduler appointments.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

C#
[TelerikToolboxCategory("Scheduler")]
public class RadReminder : Component, IComponent, IDisposable

Inheritance: objectMarshalByRefObjectComponentRadReminder

Derived Classes: RadSchedulerReminder

Implements: IComponentIDisposable

Constructors

Initializes a new instance of the RadReminder class.

C#
public RadReminder()

Initializes a new instance of the RadReminder class with the specified container.

C#
public RadReminder(IContainer container)
Parameters:containerIContainer

The container that the component will be added to.

Fields

C#
protected IAlarmForm alarmForm

Properties

Gets or sets the name of the theme.

C#
public string ThemeName { get; set; }
Property Value:

The name of the theme.

Gets or sets the time interval that the reminder should check for new remind objects.

C#
public int TimeInterval { get; set; }
Property Value:

The time interval.

Methods

Adds a reminder object to the reminder collection.

C#
public virtual RadReminderBindableObject AddRemindObject(IRemindObject remindObject)
Parameters:remindObjectIRemindObject

The reminder object to add.

Returns:

RadReminderBindableObject

The RadReminderBindableObject that wraps the reminder object.

Adds multiple reminder objects to the reminder collection.

C#
public List<RadReminderBindableObject> AddRemindObjects(List<IRemindObject> remindObjects)
Parameters:remindObjectsList<IRemindObject>

The list of reminder objects to add.

Returns:

List<RadReminderBindableObject>

A list of RadReminderBindableObject instances that wrap the reminder objects.

Clears the remind objects.

C#
public void ClearRemindObjects()

Determines whether the reminder collection contains the specified reminder object.

C#
public virtual bool ContainsRemindObject(IRemindObject remindObject)
Parameters:remindObjectIRemindObject

The reminder object to locate in the collection.

Returns:

bool

true if the reminder collection contains the specified reminder object; otherwise, false.

Releases the unmanaged resources used by the RadReminder and optionally releases the managed resources.

C#
protected override void Dispose(bool disposing)
Parameters:disposingbool

true to release both managed and unmanaged resources; false to release only unmanaged resources.

Overrides: Component.Dispose(bool)

Gets the default owner window for the alarm form.

C#
protected virtual IWin32Window GetDefaultOwner()
Returns:

IWin32Window

The default owner window, or null if no owner is specified.

Gets all reminder objects currently in the reminder collection.

C#
public List<IRemindObject> GetRemindObjects()
Returns:

List<IRemindObject>

A list of all IRemindObject instances in the collection.

Raises the DataFormatting event.

C#
protected virtual void OnDataFormating(RadDueInArgs e)
Parameters:eRadDueInArgs

The RadDueInArgs instance containing the event data.

Raises the ItemOpened event.

C#
protected virtual void OnItemOpened(RadOpenItemArgs e)
Parameters:eRadOpenItemArgs

The RadOpenItemArgs instance containing the event data.

Raises the RemindObjectShown event.

C#
protected virtual void OnRemindObjectShown(RadShowRemindObjectArgs e)
Parameters:eRadShowRemindObjectArgs

The RadShowRemindObjectArgs instance containing the event data.

Raises the AlarmFormShowing event.

C#
protected virtual void OnShowingAlarmForm(RadAlarmFormShowingEventArgs args)
Parameters:argsRadAlarmFormShowingEventArgs

The RadAlarmFormShowingEventArgs instance containing the event data.

Removes a reminder object from the reminder collection.

C#
public virtual bool RemoveRemindObject(IRemindObject remindObject)
Parameters:remindObjectIRemindObject

The reminder object to remove.

Returns:

bool

true if the reminder object was successfully removed; otherwise, false.

Resets the alarm form to the default RadAlarmForm implementation.

C#
public void ResetToDefaultAlarmForm()

Shows the alarm form if it contains reminder objects that need to be displayed.

C#
protected virtual void ShowAlarmForm()

Starts the reminder.

C#
public virtual void StartReminder()

Stops the reminder.

C#
public virtual void StopReminder()

Checks for reminder objects that need to be displayed and shows the alarm form if necessary. This method is called on each timer tick to evaluate reminder notifications.

C#
protected virtual void TimerTick()

Events

Occurs when the alarm form is about to be shown.

C#
public event EventHandler<RadAlarmFormShowingEventArgs> AlarmFormShowing

Occurs when data formatting is required for reminder display.

C#
public event EventHandler<RadDueInArgs> DataFormatting

Occurs when a reminder item is opened.

C#
public event EventHandler<RadOpenItemArgs> ItemOpened

Occurs when a reminder object is shown.

C#
public event EventHandler<RadShowRemindObjectArgs> RemindObjectShown