Share via


RadioButton.ContentAsString Method

Definition

Converts the Content to a string representation.

public:
 System::String ^ ContentAsString();
public string ContentAsString();
member this.ContentAsString : unit -> string
Public Function ContentAsString () As String

Returns

The string representation of the content, or the result of ToString() if content is not a string.

Remarks

If Content is a View and no ControlTemplate is set, a warning is logged and the ToString() representation is used instead. When a ControlTemplate is applied, View content is supported.

Applies to