Monday, July 13, 2009

WPF RepeatButton

Creating a RepeatButton

The RepeatButton XAML element represents a WPF RepeatButton control.


The Width and Height attributes represent the width and the height of a RepeatButton. The Content property sets the text of button. The Name attribute represents the name of the control, which is a unique identifier of a control.

The code snippet in Listing 1 creates a Button control and sets its name, height, width, and content.

See full detail: