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

Provides the base methods for a generic object factory.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Type Parameters:

T

Syntax:

C#
public interface IObjectGenerator<T>

Derived Classes: RadScheduleViewAppointmentAppointmentBaseRecurrenceRuleScheduleViewBase

Methods

Creates a new instance of the specified type.

C#
T CreateNew()
Returns:

T

The new instance of the specified type.

Creates a new instance of the specified type and copies the provided object properties on to the new instance.

C#
T CreateNew(T item)
Parameters:itemTReturns:

T

The new instance of the specified type.

In this article
DefinitionMethodsCreateNew()CreateNew(T)
Not finding the help you need?
Contact Support