Class VerticalRuler
This will render the vertical ruler for the diagram control.
Implements
System.ICloneable
System.Runtime.Serialization.ISerializable
System.IDisposable
Inherited Members
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 VerticalRuler : Ruler, IServiceReferenceHolder, IServiceReferenceProvider, IPropertyObserver, IPropertyContainer, ICloneable, ISerializable, IDisposable
Constructors
VerticalRuler()
Creates instance
Declaration
public VerticalRuler()
VerticalRuler(VerticalRuler)
Declaration
public VerticalRuler(VerticalRuler src)
Parameters
Type | Name | Description |
---|---|---|
VerticalRuler | src |
VerticalRuler(SerializationInfo, StreamingContext)
Declaration
public VerticalRuler(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
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
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
GetPropertyContainerName()
Declaration
protected override string GetPropertyContainerName()
Returns
Type |
---|
System.String |
Overrides
Implements
System.ICloneable
System.Runtime.Serialization.ISerializable
System.IDisposable