DataPager.NumericButtonStyle Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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)

Syntax

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

XAML Values

Property Value

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

Remarks

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.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

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