共用方式為


BindableRun.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 Run's Text property. Note that changes to Text not originating from this binding are not reflected in Content (i.e. if someone updates Run.Text directly, BindableRun.Content will not be updated).

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

Applies to