Table of Contents

Method TryGetPropertyType

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

TryGetPropertyType<TIndex>(IDeviceEffectProperties, TIndex, out DeviceEffectPropertyType)

public static bool TryGetPropertyType<TIndex>(this IDeviceEffectProperties properties, TIndex index, out DeviceEffectPropertyType type) where TIndex : unmanaged

Parameters

properties IDeviceEffectProperties
index TIndex
type DeviceEffectPropertyType

Returns

bool

Type Parameters

TIndex

TryGetPropertyType(IDeviceEffectProperties, int)

public static DeviceEffectPropertyType? TryGetPropertyType(this IDeviceEffectProperties properties, int index)

Parameters

properties IDeviceEffectProperties
index int

Returns

DeviceEffectPropertyType?

TryGetPropertyType<TIndex>(IDeviceEffectProperties, TIndex)

public static DeviceEffectPropertyType? TryGetPropertyType<TIndex>(this IDeviceEffectProperties properties, TIndex index) where TIndex : unmanaged

Parameters

properties IDeviceEffectProperties
index TIndex

Returns

DeviceEffectPropertyType?

Type Parameters

TIndex