Partager via


BindableHyperlink.Content Property

Definition

Content dependency property

public:
 property System::String ^ Content { System::String ^ get(); void set(System::String ^ value); };
public:
 property Platform::String ^ Content { Platform::String ^ get(); void set(Platform::String ^ value); };
public string Content { get; set; }
member this.Content : string with get, set
Public Property Content As String

Property Value

The content.

Remarks

The PropertyChangedCallback for Content performs a one-way binding with the Hyperlink's Inlines property. Note that changes to Inlines not originating from this binding are not reflected in Content (i.e. if someone updates Hyperlink.Inlines directly, BindableHyperlink.Content will not be updated). Furthermore, subsequent changes to Content will overwrite indirect changes to Inlines.

Two-way binding can be added, but isn't required at this time.

Applies to