Table of Contents

Class ChartSettingsObjectBase<T>.ProxyDescriptor

Namespace
StockSharp.Xaml.Charting.Ultrachart
Assembly
StockSharp.Xaml.Charting.dll

Specialization of PropertyDescriptor class for chart element properties.

protected abstract class ChartSettingsObjectBase<T>.ProxyDescriptor : PropertyDescriptor
Inheritance
ChartSettingsObjectBase<T>.ProxyDescriptor
Inherited Members
Extension Methods

Constructors

ProxyDescriptor(string, object, T, IEnumerable<Attribute>, Func<T, PropertyDescriptor, bool>)

Create instance.

protected ProxyDescriptor(string name, object owner, T origObj, IEnumerable<Attribute> attributes, Func<T, PropertyDescriptor, bool> selector = null)

Parameters

name string
owner object
origObj T
attributes IEnumerable<Attribute>
selector Func<T, PropertyDescriptor, bool>

Properties

Attributes

public override AttributeCollection Attributes { get; }

Property Value

AttributeCollection

ComponentType

public override Type ComponentType { get; }

Property Value

Type

IsReadOnly

public override bool IsReadOnly { get; }

Property Value

bool

Owner

Parent object.

public object Owner { get; }

Property Value

object

PropertyType

public override Type PropertyType { get; }

Property Value

Type

Methods

CanResetValue(object)

public override bool CanResetValue(object c)

Parameters

c object

Returns

bool

CreateWrapper(T, Func<T, PropertyDescriptor, bool>)

Create chart settings object wrapper for an object.

protected abstract ChartSettingsObjectBase<T> CreateWrapper(T obj, Func<T, PropertyDescriptor, bool> selector = null)

Parameters

obj T
selector Func<T, PropertyDescriptor, bool>

Returns

ChartSettingsObjectBase<T>

GetValue(object)

public override object GetValue(object c)

Parameters

c object

Returns

object

ResetValue(object)

public override void ResetValue(object c)

Parameters

c object

SetValue(object, object)

public override void SetValue(object c, object value)

Parameters

c object
value object

ShouldSerializeValue(object)

public override bool ShouldSerializeValue(object c)

Parameters

c object

Returns

bool