ToString Method

ToggleButton::ToString Method ()


Returns the string representation of a ToggleButton object.

Namespace:   System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)

virtual String^ ToString() override

Return Value

Type: System::String^

String representation of a ToggleButton object.

The ToString method returns a string that contains the Content and the value of the IsChecked property.

.NET Framework
Available since 3.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
© 2015 Microsoft