Condividi tramite


BindableHyperlink.Content Property

Content dependency property

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Dichiarazione
Public Property Content As String
    Get
    Set
'Utilizzo
Dim instance As BindableHyperlink
Dim value As String

value = instance.Content

instance.Content = value
public string Content { get; set; }
public:
property String^ Content {
    String^ get ();
    void set (String^ value);
}
member Content : string with get, set
function get Content () : String
function set Content (value : String)

Property Value

Type: System.String

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.

.NET Framework Security

See Also

Reference

BindableHyperlink Class

BindableHyperlink Members

Microsoft.VisualStudio.PlatformUI Namespace