OverviewExamples
xButton.SetText ( |
xButton.SetText("xButton1", "Click Here");
Changes the text on the xButton named "xButton1" to "Click Here".
xButton.SetText("Sound Toggle Button", "Music On");
Changes the text on the xButton named "Sound Toggle Button" to "Music On".
xButton.SetText("xButton1","<TextBlock>Button with <Hyperlink>Hyperlink</Hyperlink></TextBlock>");
This example sets the "xButton1" xButton object text to "Button with Hyperlink" assuming the object has markup enabled. See XML Syntax for more markup examples.
See also: Related Actions