A sample dependency property. Gets or sets a textual label.

Namespace: SampleClassLibrary
Assembly: SampleClassLibrary (in SampleClassLibrary.dll)

Public Property LabelDp() As String
This language is not supported or no code example is available.
public string LabelDp {get; set;}
This language is not supported or no code example is available.
public:  
property String^ LabelDp { 
String^ get( ); 
void set( 
String^ value 
); 
}
This language is not supported or no code example is available.
public function get LabelDp() : String
public function set LabelDp(value : String);
This language is not supported or no code example is available.

Property Value

Type: string

Identifier field

LabelDpProperty

Metadata properties set to true

AffectsArrange , AffectsRender

Since dependency properties have their "wrapper" property, you can document them like normal properties. You just place your XML comments before property code.

Windows 10, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

Portable Class Library

Supported in: Portable Class Library