ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc Namespace / Gauge Class / TickSpacing Property






In This Topic
    TickSpacing Property (Gauge)
    In This Topic
    Gets or sets the spacing between tickmarks.
    Syntax
    'Declaration
     
    
    Public Property TickSpacing As System.Nullable(Of Double)
    'Usage
     
    
    Dim instance As Gauge
    Dim value As System.Nullable(Of Double)
     
    instance.TickSpacing = value
     
    value = instance.TickSpacing
    public System.Nullable<double> TickSpacing {get; set;}
    public read-write property TickSpacing: System.Nullable; 
    public function get,set TickSpacing : System.Nullable
    public: __property System.Nullable<double> get_TickSpacing();
    public: __property void set_TickSpacing( 
       System.Nullable<double> value
    );
    public:
    property System.Nullable<double> TickSpacing {
       System.Nullable<double> get();
       void set (    System.Nullable<double> value);
    }
    Remarks
    Set the ShowTicks property to true if you want the gauge to show tickmarks along its face. By default, the interval between tickmarks is defined by the Step property. Use the TickSpacing property to override the default and use a spacing that is different from the Step value. Set the TickSpacing property to null to revert to the default behavior.
    See Also