GelProperty.RegisterIndirectWpfProperty<TOwner> Method

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

Microsoft internal use only.

Registers a Windows Presentation Foundation (WPF) property with a getter callback.

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

Syntax

'Declaration
Public Shared Function RegisterIndirectWpfProperty(Of TOwner) ( _
    name As String, _
    propertyType As Type, _
    getter As GelPropertyGetterCallback _
) As GelProperty
public static GelProperty RegisterIndirectWpfProperty<TOwner>(
    string name,
    Type propertyType,
    GelPropertyGetterCallback getter
)
public:
generic<typename TOwner>
static GelProperty^ RegisterIndirectWpfProperty(
    String^ name, 
    Type^ propertyType, 
    GelPropertyGetterCallback^ getter
)
static member RegisterIndirectWpfProperty : 
        name:string * 
        propertyType:Type * 
        getter:GelPropertyGetterCallback -> GelProperty
JScript does not support generic types or methods.

Type Parameters

  • TOwner
    Owning type.

Parameters

  • propertyType
    Type: System.Type

    Type of the new property.

Return Value

Type: Microsoft.Internal.VisualStudio.PlatformUI.GelProperty
The registered property.

.NET Framework Security

See Also

Reference

GelProperty Class

Microsoft.Internal.VisualStudio.PlatformUI Namespace