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.
member LabelDp : string with 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.

.NET Framework

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

.NET Core

Supported in: 1.0, 1.1, 2.0

.NET Standard

Supported in: 2.0

Xamarin.Android

Supported in: 7.1

Portable Class Library

Supported in: Portable Class Library