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

Represent an acceptable value for grouping units More...

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

Public Member Functions

 UnitGrouping ()
 
 UnitGrouping (double largeIntervalSize, int smallIntervalCount)
 

Static Public Attributes

static readonly DependencyProperty LargeIntervalSizeProperty = DependencyProperty.Register("LargeIntervalSize", typeof(double), typeof(UnitGrouping))
 
static readonly DependencyProperty SmallIntervalCountProperty = DependencyProperty.Register("SmallIntervalCount", typeof(int), typeof(UnitGrouping), new FrameworkPropertyMetadata(10))
 
static readonly DependencyProperty IsMultipliableProperty = DependencyProperty.Register("IsMultipliable", typeof(bool), typeof(UnitGrouping))
 

Properties

double LargeIntervalSize [get, set]
 Grouping value that represent the length of a large tick interval in a ScaleBar More...
 
int SmallIntervalCount [get, set]
 Number of small intervals (generating small ticks) into a large tick interval of a ScaleBar More...
 
bool IsMultipliable [get, set]
 Indicate that the values can be grouped more efficiently using the default grouping method (which groups by the closest value of the form {1/2/5} * 10^n * LargeIntervalSize) More...
 

Detailed Description

Represent an acceptable value for grouping units

Definition at line 80 of file UnitSystem.cs.

Constructor & Destructor Documentation

SiliconStudio.Presentation.Controls.UnitGrouping.UnitGrouping ( )

Definition at line 99 of file UnitSystem.cs.

SiliconStudio.Presentation.Controls.UnitGrouping.UnitGrouping ( double  largeIntervalSize,
int  smallIntervalCount 
)

Definition at line 101 of file UnitSystem.cs.

Member Data Documentation

readonly DependencyProperty SiliconStudio.Presentation.Controls.UnitGrouping.IsMultipliableProperty = DependencyProperty.Register("IsMultipliable", typeof(bool), typeof(UnitGrouping))
static

Definition at line 84 of file UnitSystem.cs.

readonly DependencyProperty SiliconStudio.Presentation.Controls.UnitGrouping.LargeIntervalSizeProperty = DependencyProperty.Register("LargeIntervalSize", typeof(double), typeof(UnitGrouping))
static

Definition at line 82 of file UnitSystem.cs.

readonly DependencyProperty SiliconStudio.Presentation.Controls.UnitGrouping.SmallIntervalCountProperty = DependencyProperty.Register("SmallIntervalCount", typeof(int), typeof(UnitGrouping), new FrameworkPropertyMetadata(10))
static

Definition at line 83 of file UnitSystem.cs.

Property Documentation

bool SiliconStudio.Presentation.Controls.UnitGrouping.IsMultipliable
getset

Indicate that the values can be grouped more efficiently using the default grouping method (which groups by the closest value of the form {1/2/5} * 10^n * LargeIntervalSize)

Definition at line 97 of file UnitSystem.cs.

double SiliconStudio.Presentation.Controls.UnitGrouping.LargeIntervalSize
getset

Grouping value that represent the length of a large tick interval in a ScaleBar

Definition at line 89 of file UnitSystem.cs.

int SiliconStudio.Presentation.Controls.UnitGrouping.SmallIntervalCount
getset

Number of small intervals (generating small ticks) into a large tick interval of a ScaleBar

Definition at line 93 of file UnitSystem.cs.


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