Class MeasurementUnit<TUnit>
Represents a unit measurement.
Inheritance
System.Object
MeasurementUnit<TUnit>
Assembly: Syncfusion.SfDiagram.UWP.dll
Syntax
public abstract class MeasurementUnit<TUnit> : Object
Type Parameters
Constructors
MeasurementUnit()
Declaration
protected MeasurementUnit()
Methods
add_UnitChangedEvent(UnitToUnitEventArgs<TUnit>)
Declaration
public abstract void add_UnitChangedEvent(UnitToUnitEventArgs<TUnit> value)
Parameters
remove_UnitChangedEvent(UnitToUnitEventArgs<TUnit>)
Declaration
public abstract void remove_UnitChangedEvent(UnitToUnitEventArgs<TUnit> value)
Parameters
ToPixel(TUnit)
Used to convert the value from unit to pixel.
Declaration
public abstract double ToPixel(TUnit unit)
Parameters
Type |
Name |
Description |
TUnit |
unit |
|
Returns
ToUnit(Double)
Used to convert the value from pixel to unit.
Declaration
public abstract TUnit ToUnit(double pixel)
Parameters
Type |
Name |
Description |
System.Double |
pixel |
|
Returns
Events
UnitChangedEvent
Notify the event when the UnitChanged.
Declaration
public abstract event UnitToUnitEventArgs<TUnit> UnitChangedEvent
Event Type
Extension Methods