編輯

共用方式為


ContentControl.Tag Property

Definition

Returns or sets a value to identify a content control. Read/write.

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

Property Value

String

Remarks

The Tag property is different from the Title property in that a tag is never displayed while a user edits a document. Instead, developers can use it to store a value for programmatic manipulation while the document is opened.

Applies to