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

Provides a basic implementation of data driven provider.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.GanttView.dll

Syntax:

C#
public abstract class SimpleProviderBase : IRawElementProviderSimple

Inheritance: objectSimpleProviderBase

Derived Classes: GanttCellProviderGanttHeaderProviderGanttTaskProvider

Implements: IRawElementProviderSimple

Constructors

C#
protected SimpleProviderBase()

Properties

HostRawElementProvider

IRawElementProviderSimple

Tells UI Automation that this control is hosted in an HWND, which has its own provider.

C#
public virtual IRawElementProviderSimple HostRawElementProvider { get; }

ProviderOptions

ProviderOptions

Retrieves provider options.

C#
public ProviderOptions ProviderOptions { get; }

Methods

When overridden gets the display name of the associated item.

C#
protected virtual string GetName()
Returns:

string

The name of the item.

Returns the object that supports the specified pattern.

C#
public virtual object GetPatternProvider(int patternId)
Parameters:patternIdint

ID of the pattern.

Returns:

object

Object that implements IInvokeProvider.

Returns property values.

C#
public object GetPropertyValue(int propertyId)
Parameters:propertyIdint

Property identifier.

Returns:

object

Property value.