GelProperty.RegisterWpfProperty<TOwner> Method (String, Type, Object, GelPropertyChangedCallback, GelPropertyValidatorCallback)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Shared Function RegisterWpfProperty(Of TOwner) ( _
    name As String, _
    propertyType As Type, _
    defaultValue As Object, _
    propertyChanged As GelPropertyChangedCallback, _
    validator As GelPropertyValidatorCallback _
) As GelProperty
public static GelProperty RegisterWpfProperty<TOwner>(
    string name,
    Type propertyType,
    Object defaultValue,
    GelPropertyChangedCallback propertyChanged,
    GelPropertyValidatorCallback validator
)
public:
generic<typename TOwner>
static GelProperty^ RegisterWpfProperty(
    String^ name, 
    Type^ propertyType, 
    Object^ defaultValue, 
    GelPropertyChangedCallback^ propertyChanged, 
    GelPropertyValidatorCallback^ validator
)
static member RegisterWpfProperty : 
        name:string * 
        propertyType:Type * 
        defaultValue:Object * 
        propertyChanged:GelPropertyChangedCallback * 
        validator:GelPropertyValidatorCallback -> GelProperty
JScript does not support generic types or methods.

Type Parameters

  • TOwner

Parameters

Return Value

Type: Microsoft.Internal.VisualStudio.PlatformUI.GelProperty

.NET Framework Security

See Also

Reference

GelProperty Class

RegisterWpfProperty Overload

Microsoft.Internal.VisualStudio.PlatformUI Namespace