Table of Contents
  • Getting Started
  • EO.Pdf
  • EO.Web
  • EO.WebBrowser
  • EO.Wpf
  • Common Topics
  • Reference
    • .NET API Reference
      • EO.Base
      • EO.Base.UI
      • EO.Extensions
      • EO.Pdf
      • EO.Pdf.Acm
      • EO.Pdf.Contents
      • EO.Pdf.Drawing
      • EO.Pdf.Mvc
      • EO.Web
      • EO.WebBrowser
      • EO.WebBrowser.DOM
      • EO.WebEngine
      • EO.WinForm
      • EO.Wpf
      • EO.Wpf.Gauge
      • EO.Wpf.Gauge.Shapes
      • EO.Wpf.Primitives
      • EO.Wpf.Themes.Aero
      • EO.Wpf.Themes.Classic
      • EO.Wpf.Themes.Luna
      • EO.Wpf.Themes.Metro
      • EO.Wpf.Themes.Royale
    • JavaScript API Reference
RangeIndicatorStyle Property

Gets or sets the Style applied to the range indicator control of this spin edit. This is a dependency property.

Syntax
 public Style RangeIndicatorStyle { get; set; }

Example

The target type of this style is Rectangle. The following example, which sets a new style for the SpinEdit range indicator element:

XAML
<Window x:Class="Test.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:eo="http://schemas.essentialobjects.com/wpf/"
        xmlns:g="clr-namespace:System.Globalization;assembly=mscorlib"
        Title="MainWindow" Height="250" Width="350">
    <Window.Resources>
        <g:NumberFormatInfo x:Key="CustomValueFormat" CurrencyNegativePattern="1" CurrencySymbol="£"></g:NumberFormatInfo>
    </Window.Resources>
    <StackPanel Margin="10">
        <eo:SpinEdit HorizontalAlignment="Left" 
            Minimum="-10" Maximum="10" Value="-1" Width="100" 
            ValueFormat="Currency" NumberFormatInfo="{StaticResource CustomValueFormat}" />
    </StackPanel>
</Window>

The above code produces the following result:

See Also