DataPager.NumericButtonStyle Property

Silverlight

Gets or sets the style that will be used for the numeric buttons.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.Data (in System.Windows.Controls.Data.dll)

public Style NumericButtonStyle { get; set; }
<sdk:DataPager>
  <sdk:DataPager.NumericButtonStyle>
    inlineStyle
  </sdk:DataPager.NumericButtonStyle>
</sdk:dataPager>
<sdk:DataPager NumericButtonStyle="styleReference"/>

XAML Values

inlineStyle

A single Style object element.

styleReference

A StaticResource reference to a Style.

Property Value

Type: System.Windows.Style
The style that will be used for the numeric buttons.

Dependency property identifier field: NumericButtonStyleProperty

Numeric buttons are displayed when DisplayMode is set to one of the following values:

You can change the appearance of the numeric buttons by applying a style with a TargetType of ToggleButton. For more information, see DataPager Styles and Templates.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: