Table of Contents

Class DependencyHelpers

Namespace
HeBianGu.General.WpfControlLib
Assembly
HeBianGu.General.WpfControlLib.dll

Encapsulates methods for dealing with dependency objects and properties.

public static class DependencyHelpers
Inheritance
DependencyHelpers
Inherited Members

Methods

GetDependencyProperty(Type, string)

Gets the dependency property according to its name.

public static DependencyProperty GetDependencyProperty(Type type, string propertyName)

Parameters

type Type

The type.

propertyName string

Name of the property.

Returns

DependencyProperty

GetDependencyProperty(DependencyObject, string)

Retrieves a DependencyProperty using reflection.

public static DependencyProperty GetDependencyProperty(this DependencyObject o, string propertyName)

Parameters

o DependencyObject
propertyName string

Returns

DependencyProperty