menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class HorizontalRuler - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class HorizontalRuler

    This will render the horizontal ruler for the diagram control.

    Inheritance
    System.Object
    PropertyContainer
    Ruler
    HorizontalRuler
    Implements
    IServiceReferenceHolder
    IServiceReferenceProvider
    IPropertyObserver
    IPropertyContainer
    System.ICloneable
    System.Runtime.Serialization.ISerializable
    System.IDisposable
    Inherited Members
    PropertyContainer.Dispose()
    PropertyContainer.FullContainerName
    PropertyContainer.GetPropertyContainerByName(String)
    PropertyContainer.HistoryService
    PropertyContainer.IPropertyObserver.OnPropertyChanged(String, String)
    PropertyContainer.IPropertyObserver.OnPropertyChanging(String, String, Object)
    PropertyContainer.ISerializable.GetObjectData(SerializationInfo, StreamingContext)
    PropertyContainer.m_propertyObserver
    PropertyContainer.OnMeasureUnitsChanging(MeasureUnits, MeasureUnits)
    PropertyContainer.OnPropertyChanged(String)
    PropertyContainer.OnPropertyChanging(String, Object)
    PropertyContainer.PropertyObserber
    PropertyContainer.ProvideServiceReference(RuntimeTypeHandle)
    PropertyContainer.RecordPropertyChanged(String)
    Ruler.BackgroundColor
    Ruler.BorderColor
    Ruler.CreateMarkupRenderer(MeasureUnits)
    Ruler.FontColor
    Ruler.GetMinimumCalibratedLineUnits(MeasureUnits)
    Ruler.GetObjectData(SerializationInfo, StreamingContext)
    Ruler.GridSpacingType
    Ruler.HighlightAreaStart
    Ruler.HighlightAreaWidth
    Ruler.HighlightColor
    Ruler.InheritContainerMeasureUnits
    Ruler.Location
    Ruler.MajorCalibratedLineUnits
    Ruler.MajorLinesColor
    Ruler.MarkerColor
    Ruler.MarkerPosition
    Ruler.MeasureUnit
    Ruler.MinimumCalibratedLineUnits
    Ruler.MinorLinesColor
    Ruler.Size
    Ruler.TextStyle
    Ruler.UpdateServiceReferences(IServiceReferenceProvider)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Forms.Diagram
    Assembly: Syncfusion.Diagram.Base.dll
    Syntax
    public class HorizontalRuler : Ruler, IServiceReferenceHolder, IServiceReferenceProvider, IPropertyObserver, IPropertyContainer, ICloneable, ISerializable, IDisposable

    Constructors

    HorizontalRuler()

    Declaration
    public HorizontalRuler()

    HorizontalRuler(HorizontalRuler)

    Declaration
    public HorizontalRuler(HorizontalRuler src)
    Parameters
    Type Name Description
    HorizontalRuler src

    HorizontalRuler(SerializationInfo, StreamingContext)

    Declaration
    public HorizontalRuler(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info
    System.Runtime.Serialization.StreamingContext context

    Methods

    Clone()

    Creates a new object that is a copy of the current instance.

    Declaration
    public override object Clone()
    Returns
    Type Description
    System.Object

    A new object that is a copy of this instance.

    Overrides
    PropertyContainer.Clone()

    Draw(Graphics, View)

    Renders the ruler

    Declaration
    public override void Draw(Graphics gfx, View view)
    Parameters
    Type Name Description
    System.Drawing.Graphics gfx

    Graphics element gfx

    View view

    View class view

    Overrides
    Ruler.Draw(Graphics, View)

    Draw(Graphics, View, RulerStyleInfo)

    Declaration
    public override void Draw(Graphics gfx, View view, RulerStyleInfo themeStyle)
    Parameters
    Type Name Description
    System.Drawing.Graphics gfx
    View view
    RulerStyleInfo themeStyle
    Overrides
    Ruler.Draw(Graphics, View, RulerStyleInfo)

    GetPropertyContainerName()

    Declaration
    protected override string GetPropertyContainerName()
    Returns
    Type
    System.String
    Overrides
    PropertyContainer.GetPropertyContainerName()

    Implements

    IServiceReferenceHolder
    IServiceReferenceProvider
    IPropertyObserver
    IPropertyContainer
    System.ICloneable
    System.Runtime.Serialization.ISerializable
    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved