Class
RadReminder

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

Definition

Constructors

RadReminder()

Initializes a new instance of the RadReminder class.

Declaration

cs-api-definition
public RadReminder()

RadReminder(IContainer)

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

Declaration

cs-api-definition
public RadReminder(IContainer container)

Parameters

container

IContainer

The container that the component will be added to.

Fields

alarmForm

Declaration

cs-api-definition
protected IAlarmForm alarmForm

Field Value

IAlarmForm

Properties

ThemeName

Gets or sets the name of the theme.

Declaration

cs-api-definition
public string ThemeName { get; set; }

Property Value

string

The name of the theme.

TimeInterval

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

Declaration

cs-api-definition
public int TimeInterval { get; set; }

Property Value

int

The time interval.

Methods

AddRemindObject(IRemindObject)

Adds a reminder object to the reminder collection.

Declaration

cs-api-definition
public virtual RadReminderBindableObject AddRemindObject(IRemindObject remindObject)

Parameters

remindObject

IRemindObject

The reminder object to add.

Returns

RadReminderBindableObject

The RadReminderBindableObject that wraps the reminder object.

AddRemindObjects(List<IRemindObject>)

Adds multiple reminder objects to the reminder collection.

Declaration

cs-api-definition
public List<RadReminderBindableObject> AddRemindObjects(List<IRemindObject> remindObjects)

Parameters

remindObjects

List<IRemindObject>

The list of reminder objects to add.

Returns

List<RadReminderBindableObject>

A list of RadReminderBindableObject instances that wrap the reminder objects.

ClearRemindObjects()

Clears the remind objects.

Declaration

cs-api-definition
public void ClearRemindObjects()

ContainsRemindObject(IRemindObject)

Determines whether the reminder collection contains the specified reminder object.

Declaration

cs-api-definition
public virtual bool ContainsRemindObject(IRemindObject remindObject)

Parameters

remindObject

IRemindObject

The reminder object to locate in the collection.

Returns

bool

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

Dispose(bool)

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

Declaration

cs-api-definition
protected override void Dispose(bool disposing)

Parameters

disposing

bool

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

Overrides Component.Dispose(bool)

GetDefaultOwner()

Gets the default owner window for the alarm form.

Declaration

cs-api-definition
protected virtual IWin32Window GetDefaultOwner()

Returns

IWin32Window

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

GetRemindObjects()

Gets all reminder objects currently in the reminder collection.

Declaration

cs-api-definition
public List<IRemindObject> GetRemindObjects()

Returns

List<IRemindObject>

A list of all IRemindObject instances in the collection.

OnDataFormating(RadDueInArgs)

Raises the DataFormatting event.

Declaration

cs-api-definition
protected virtual void OnDataFormating(RadDueInArgs e)

Parameters

e

RadDueInArgs

The RadDueInArgs instance containing the event data.

OnItemOpened(RadOpenItemArgs)

Raises the ItemOpened event.

Declaration

cs-api-definition
protected virtual void OnItemOpened(RadOpenItemArgs e)

Parameters

e

RadOpenItemArgs

The RadOpenItemArgs instance containing the event data.

OnRemindObjectShown(RadShowRemindObjectArgs)

Raises the RemindObjectShown event.

Declaration

cs-api-definition
protected virtual void OnRemindObjectShown(RadShowRemindObjectArgs e)

Parameters

e

RadShowRemindObjectArgs

The RadShowRemindObjectArgs instance containing the event data.

OnShowingAlarmForm(RadAlarmFormShowingEventArgs)

Raises the AlarmFormShowing event.

Declaration

cs-api-definition
protected virtual void OnShowingAlarmForm(RadAlarmFormShowingEventArgs args)

Parameters

args

RadAlarmFormShowingEventArgs

The RadAlarmFormShowingEventArgs instance containing the event data.

RemoveRemindObject(IRemindObject)

Removes a reminder object from the reminder collection.

Declaration

cs-api-definition
public virtual bool RemoveRemindObject(IRemindObject remindObject)

Parameters

remindObject

IRemindObject

The reminder object to remove.

Returns

bool

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

ResetToDefaultAlarmForm()

Resets the alarm form to the default RadAlarmForm implementation.

Declaration

cs-api-definition
public void ResetToDefaultAlarmForm()

ShowAlarmForm()

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

Declaration

cs-api-definition
protected virtual void ShowAlarmForm()

StartReminder()

Starts the reminder.

Declaration

cs-api-definition
public virtual void StartReminder()

StopReminder()

Stops the reminder.

Declaration

cs-api-definition
public virtual void StopReminder()

TimerTick()

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.

Declaration

cs-api-definition
protected virtual void TimerTick()

Events

AlarmFormShowing

Occurs when the alarm form is about to be shown.

Declaration

cs-api-definition
public event EventHandler<RadAlarmFormShowingEventArgs> AlarmFormShowing

Event Value

EventHandler<RadAlarmFormShowingEventArgs>

DataFormatting

Occurs when data formatting is required for reminder display.

Declaration

cs-api-definition
public event EventHandler<RadDueInArgs> DataFormatting

Event Value

EventHandler<RadDueInArgs>

ItemOpened

Occurs when a reminder item is opened.

Declaration

cs-api-definition
public event EventHandler<RadOpenItemArgs> ItemOpened

Event Value

EventHandler<RadOpenItemArgs>

RemindObjectShown

Occurs when a reminder object is shown.

Declaration

cs-api-definition
public event EventHandler<RadShowRemindObjectArgs> RemindObjectShown

Event Value

EventHandler<RadShowRemindObjectArgs>