Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.Presentation.Controls.UnitSystem Class Reference

Represent an unit system that can be used with a ScaleBar More...

Inheritance diagram for SiliconStudio.Presentation.Controls.UnitSystem:
DependencyObject

Public Member Functions

 UnitSystem ()
 
void GetAllGroupingValues (ref List< double > values)
 

Static Public Attributes

static readonly DependencyProperty SymbolProperty = DependencyProperty.Register("Symbol", typeof(string), typeof(UnitSystem))
 
static readonly DependencyProperty GroupingValuesProperty = DependencyProperty.Register("GroupingValues", typeof(UnitGroupingCollection), typeof(UnitSystem))
 
static readonly DependencyProperty ConversionsProperty = DependencyProperty.Register("Conversions", typeof(UnitConversionCollection), typeof(UnitSystem))
 

Properties

string Symbol [get, set]
 The default symbol of the unit that will be appended to numeric value in the ScaleBar More...
 
UnitGroupingCollection GroupingValues [get, set]
 A list of UnitGrouping that can be used to override the default grouping method (which groups by the closest value of the form {1/2/5} * 10^n) More...
 
UnitConversionCollection Conversions [get, set]
 A list of UnitConversion that can be used for grouping with a different unit (such as nano or mega units). More...
 

Detailed Description

Represent an unit system that can be used with a ScaleBar

Definition at line 12 of file UnitSystem.cs.

Constructor & Destructor Documentation

SiliconStudio.Presentation.Controls.UnitSystem.UnitSystem ( )

Definition at line 31 of file UnitSystem.cs.

Member Function Documentation

void SiliconStudio.Presentation.Controls.UnitSystem.GetAllGroupingValues ( ref List< double >  values)

Definition at line 37 of file UnitSystem.cs.

Member Data Documentation

readonly DependencyProperty SiliconStudio.Presentation.Controls.UnitSystem.ConversionsProperty = DependencyProperty.Register("Conversions", typeof(UnitConversionCollection), typeof(UnitSystem))
static

Definition at line 16 of file UnitSystem.cs.

readonly DependencyProperty SiliconStudio.Presentation.Controls.UnitSystem.GroupingValuesProperty = DependencyProperty.Register("GroupingValues", typeof(UnitGroupingCollection), typeof(UnitSystem))
static

Definition at line 15 of file UnitSystem.cs.

readonly DependencyProperty SiliconStudio.Presentation.Controls.UnitSystem.SymbolProperty = DependencyProperty.Register("Symbol", typeof(string), typeof(UnitSystem))
static

Definition at line 14 of file UnitSystem.cs.

Property Documentation

UnitConversionCollection SiliconStudio.Presentation.Controls.UnitSystem.Conversions
getset

A list of UnitConversion that can be used for grouping with a different unit (such as nano or mega units).

Definition at line 29 of file UnitSystem.cs.

UnitGroupingCollection SiliconStudio.Presentation.Controls.UnitSystem.GroupingValues
getset

A list of UnitGrouping that can be used to override the default grouping method (which groups by the closest value of the form {1/2/5} * 10^n)

Definition at line 25 of file UnitSystem.cs.

string SiliconStudio.Presentation.Controls.UnitSystem.Symbol
getset

The default symbol of the unit that will be appended to numeric value in the ScaleBar

Definition at line 21 of file UnitSystem.cs.


The documentation for this class was generated from the following file: