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

Public Member Functions

 ScaleBar ()
 
double GetPixelAt (double unit)
 
double GetUnitAt (double pixel)
 
void SetUnitAt (double unit, double pixel)
 
void SetUnitsPerTickAt (double unitsPerTick, double pixel)
 
void SetPixelsPerTickAt (double pixelsPerTick, double pixel)
 
void ZoomAtPosition (double position, double coeficient, bool affectPixelsPerTick)
 
bool StartDraggingScale ()
 
bool EndDraggingScale ()
 

Static Public Attributes

static readonly DependencyProperty CustomDrawingContextProperty
 
static readonly DependencyProperty BackgroundProperty
 
static readonly DependencyProperty LargeTickPenProperty
 
static readonly DependencyProperty SmallTickPenProperty
 
static readonly DependencyProperty LargeTickTopProperty
 
static readonly DependencyProperty LargeTickBottomProperty
 
static readonly DependencyProperty SmallTickTopProperty
 
static readonly DependencyProperty SmallTickBottomProperty
 
static readonly DependencyProperty DecimalCountRoundingProperty
 
static readonly DependencyProperty TextPositionOriginProperty
 
static readonly DependencyProperty TextPositionProperty
 
static readonly DependencyProperty ForegroundProperty
 
static readonly DependencyProperty FontProperty
 
static readonly DependencyProperty FontSizeProperty
 
static readonly DependencyProperty StartUnitProperty
 
static readonly DependencyProperty MinimumUnitsPerTickProperty
 
static readonly DependencyProperty MaximumUnitsPerTickProperty
 
static readonly DependencyProperty UnitsPerTickProperty
 
static readonly DependencyProperty PixelsPerTickProperty
 
static readonly DependencyProperty AdjustedUnitsPerTickProperty = AdjustedUnitsPerTickPropertyKey.DependencyProperty
 
static readonly DependencyProperty AdjustedPixelsPerTickProperty = AdjustedPixelsPerTickPropertyKey.DependencyProperty
 
static readonly DependencyProperty PixelsPerUnitProperty = PixelsPerUnitPropertyKey.DependencyProperty
 
static readonly DependencyProperty AdjustedPixelsPerUnitProperty = AdjustedPixelsPerUnitPropertyKey.DependencyProperty
 
static readonly DependencyProperty IsAliasedProperty
 
static readonly DependencyProperty IsTextVisibleProperty
 
static readonly DependencyProperty IsSmallTickVisibleProperty
 
static readonly DependencyProperty IsZoomingOnMouseWheelProperty
 
static readonly DependencyProperty MouseWheelZoomCoeficientProperty
 
static readonly DependencyProperty IsDraggingOnLeftMouseButtonProperty
 
static readonly DependencyProperty IsDraggingOnRightMouseButtonProperty
 
static readonly DependencyProperty UnitSystemProperty
 
static readonly DependencyProperty SymbolProperty
 
static readonly DependencyProperty TickTextUnitDividerProperty
 
static readonly RoutedEvent BeforeRenderEvent
 
static readonly RoutedEvent AfterRenderEvent
 
static readonly RoutedEvent BeforeTicksRenderEvent
 
static readonly RoutedEvent AfterTicksRenderEvent
 
static readonly RoutedEvent ScaleChangingEvent
 
static readonly RoutedEvent ScaleChangedEvent
 

Protected Member Functions

override void OnRender (DrawingContext localDrawingContext)
 
virtual void DrawLargeTick (DrawingContext drawingContext, double unit, double position)
 
virtual void DrawSmallTick (DrawingContext drawingContext, double position)
 
override void OnMouseWheel (MouseWheelEventArgs e)
 
override void OnMouseMove (MouseEventArgs e)
 
override void OnMouseLeftButtonDown (MouseButtonEventArgs e)
 
override void OnMouseLeftButtonUp (MouseButtonEventArgs e)
 
override void OnMouseRightButtonDown (MouseButtonEventArgs e)
 
override void OnMouseRightButtonUp (MouseButtonEventArgs e)
 

Properties

RoutedEventHandler BeforeRender
 
RoutedEventHandler AfterRender
 
CustomRenderRoutedEventHandler BeforeTicksRender
 
CustomRenderRoutedEventHandler AfterTicksRender
 
RoutedDependencyPropertyChangedEventHandler ScaleChanging
 
RoutedDependencyPropertyChangedEventHandler ScaleChanged
 
DrawingContext CustomDrawingContext [get, set]
 
Brush Background [get, set]
 
Pen LargeTickPen [get, set]
 
Pen SmallTickPen [get, set]
 
double LargeTickTop [get, set]
 Gets or sets the relative top (Y) coordinate of the drawn large ticks. This is a dependency property. More...
 
double LargeTickBottom [get, set]
 Gets or sets the relative bottom (Y) coordinate of the drawn large ticks. This is a dependency property. More...
 
double SmallTickTop [get, set]
 Gets or sets the relative top (Y) coordinate of the drawn small ticks. This is a dependency property. More...
 
double SmallTickBottom [get, set]
 Gets or sets the relative bottom (Y) coordinate of the drawn small ticks. This is a dependency property. More...
 
int DecimalCountRounding [get, set]
 
Point TextPositionOrigin [get, set]
 Gets or sets the center point of drawn text, relative to the bounds of the drawn text itself. This is a dependency property. More...
 
double TextPosition [get, set]
 Gets or sets the relative top (Y) coordinate of the center of the drawn text. This is a dependency property. More...
 
Brush Foreground [get, set]
 
Typeface Font [get, set]
 
double FontSize [get, set]
 
double StartUnit [get, set]
 
double MinimumUnitsPerTick [get, set]
 
double MaximumUnitsPerTick [get, set]
 
double UnitsPerTick [get, set]
 
double AdjustedUnitsPerTick [get, set]
 
double PixelsPerTick [get, set]
 
double AdjustedPixelsPerTick [get, set]
 
double PixelsPerUnit [get, set]
 
double AdjustedPixelsPerUnit [get, set]
 
bool IsAliased [get, set]
 
bool IsTextVisible [get, set]
 
bool IsSmallTickVisible [get, set]
 
bool IsZoomingOnMouseWheel [get, set]
 
double MouseWheelZoomCoeficient [get, set]
 
bool IsDraggingOnLeftMouseButton [get, set]
 
bool IsDraggingOnRightMouseButton [get, set]
 
UnitSystem UnitSystem [get, set]
 
string UnitSymbol [get, set]
 
double TickTextUnitDivider [get, set]
 

Detailed Description

Definition at line 42 of file ScaleBar.cs.

Constructor & Destructor Documentation

SiliconStudio.Presentation.Controls.ScaleBar.ScaleBar ( )

Definition at line 282 of file ScaleBar.cs.

Member Function Documentation

virtual void SiliconStudio.Presentation.Controls.ScaleBar.DrawLargeTick ( DrawingContext  drawingContext,
double  unit,
double  position 
)
protectedvirtual

Definition at line 946 of file ScaleBar.cs.

virtual void SiliconStudio.Presentation.Controls.ScaleBar.DrawSmallTick ( DrawingContext  drawingContext,
double  position 
)
protectedvirtual

Definition at line 961 of file ScaleBar.cs.

bool SiliconStudio.Presentation.Controls.ScaleBar.EndDraggingScale ( )

Definition at line 1002 of file ScaleBar.cs.

double SiliconStudio.Presentation.Controls.ScaleBar.GetPixelAt ( double  unit)

Definition at line 653 of file ScaleBar.cs.

double SiliconStudio.Presentation.Controls.ScaleBar.GetUnitAt ( double  pixel)

Definition at line 658 of file ScaleBar.cs.

override void SiliconStudio.Presentation.Controls.ScaleBar.OnMouseLeftButtonDown ( MouseButtonEventArgs  e)
protected

Definition at line 1023 of file ScaleBar.cs.

override void SiliconStudio.Presentation.Controls.ScaleBar.OnMouseLeftButtonUp ( MouseButtonEventArgs  e)
protected

Definition at line 1031 of file ScaleBar.cs.

override void SiliconStudio.Presentation.Controls.ScaleBar.OnMouseMove ( MouseEventArgs  e)
protected

Definition at line 1013 of file ScaleBar.cs.

override void SiliconStudio.Presentation.Controls.ScaleBar.OnMouseRightButtonDown ( MouseButtonEventArgs  e)
protected

Definition at line 1039 of file ScaleBar.cs.

override void SiliconStudio.Presentation.Controls.ScaleBar.OnMouseRightButtonUp ( MouseButtonEventArgs  e)
protected

Definition at line 1047 of file ScaleBar.cs.

override void SiliconStudio.Presentation.Controls.ScaleBar.OnMouseWheel ( MouseWheelEventArgs  e)
protected

Definition at line 966 of file ScaleBar.cs.

override void SiliconStudio.Presentation.Controls.ScaleBar.OnRender ( DrawingContext  localDrawingContext)
protected

Definition at line 703 of file ScaleBar.cs.

void SiliconStudio.Presentation.Controls.ScaleBar.SetPixelsPerTickAt ( double  pixelsPerTick,
double  pixel 
)

Definition at line 676 of file ScaleBar.cs.

void SiliconStudio.Presentation.Controls.ScaleBar.SetUnitAt ( double  unit,
double  pixel 
)

Definition at line 663 of file ScaleBar.cs.

void SiliconStudio.Presentation.Controls.ScaleBar.SetUnitsPerTickAt ( double  unitsPerTick,
double  pixel 
)

Definition at line 669 of file ScaleBar.cs.

bool SiliconStudio.Presentation.Controls.ScaleBar.StartDraggingScale ( )

Definition at line 991 of file ScaleBar.cs.

void SiliconStudio.Presentation.Controls.ScaleBar.ZoomAtPosition ( double  position,
double  coeficient,
bool  affectPixelsPerTick 
)

Definition at line 981 of file ScaleBar.cs.

Member Data Documentation

readonly DependencyProperty SiliconStudio.Presentation.Controls.ScaleBar.AdjustedPixelsPerTickProperty = AdjustedPixelsPerTickPropertyKey.DependencyProperty
static

Definition at line 170 of file ScaleBar.cs.

readonly DependencyProperty SiliconStudio.Presentation.Controls.ScaleBar.AdjustedPixelsPerUnitProperty = AdjustedPixelsPerUnitPropertyKey.DependencyProperty
static

Definition at line 184 of file ScaleBar.cs.

readonly DependencyProperty SiliconStudio.Presentation.Controls.ScaleBar.AdjustedUnitsPerTickProperty = AdjustedUnitsPerTickPropertyKey.DependencyProperty
static

Definition at line 163 of file ScaleBar.cs.

readonly RoutedEvent SiliconStudio.Presentation.Controls.ScaleBar.AfterRenderEvent
static
Initial value:
= EventManager.RegisterRoutedEvent(
"AfterRender",
RoutingStrategy.Bubble,
typeof(RoutedEventHandler),
typeof(ScaleBar))

Definition at line 252 of file ScaleBar.cs.

readonly RoutedEvent SiliconStudio.Presentation.Controls.ScaleBar.AfterTicksRenderEvent
static
Initial value:
= EventManager.RegisterRoutedEvent(
"AfterTicksRender",
RoutingStrategy.Bubble,
typeof(ScaleBar))

Definition at line 264 of file ScaleBar.cs.

readonly DependencyProperty SiliconStudio.Presentation.Controls.ScaleBar.BackgroundProperty
static
Initial value:
= DependencyProperty.Register(
"Background",
typeof(Brush),
typeof(ScaleBar),
new FrameworkPropertyMetadata(Brushes.Transparent, FrameworkPropertyMetadataOptions.AffectsRender))

Definition at line 50 of file ScaleBar.cs.

readonly RoutedEvent SiliconStudio.Presentation.Controls.ScaleBar.BeforeRenderEvent
static
Initial value:
= EventManager.RegisterRoutedEvent(
"BeforeRender",
RoutingStrategy.Bubble,
typeof(RoutedEventHandler),
typeof(ScaleBar))

Definition at line 246 of file ScaleBar.cs.

readonly RoutedEvent SiliconStudio.Presentation.Controls.ScaleBar.BeforeTicksRenderEvent
static
Initial value:
= EventManager.RegisterRoutedEvent(
"BeforeTicksRender",
RoutingStrategy.Bubble,
typeof(ScaleBar))

Definition at line 258 of file ScaleBar.cs.

readonly DependencyProperty SiliconStudio.Presentation.Controls.ScaleBar.CustomDrawingContextProperty
static
Initial value:
= DependencyProperty.Register(
"CustomDrawingContext",
typeof(DrawingContext),
typeof(ScaleBar),
new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsRender))

Definition at line 44 of file ScaleBar.cs.

readonly DependencyProperty SiliconStudio.Presentation.Controls.ScaleBar.DecimalCountRoundingProperty
static
Initial value:
= DependencyProperty.Register(
"DecimalCountRounding",
typeof(int),
typeof(ScaleBar),
new FrameworkPropertyMetadata(6, null, CoerceDecimalCountRoundingPropertyValue))

Definition at line 92 of file ScaleBar.cs.

readonly DependencyProperty SiliconStudio.Presentation.Controls.ScaleBar.FontProperty
static
Initial value:
= DependencyProperty.Register(
"Font",
typeof(Typeface),
typeof(ScaleBar),
new FrameworkPropertyMetadata(new Typeface("Meiryo"), FrameworkPropertyMetadataOptions.AffectsRender))

Definition at line 116 of file ScaleBar.cs.

readonly DependencyProperty SiliconStudio.Presentation.Controls.ScaleBar.FontSizeProperty
static
Initial value:
= DependencyProperty.Register(
"FontSize",
typeof(double),
typeof(ScaleBar),
new FrameworkPropertyMetadata(9.0, FrameworkPropertyMetadataOptions.AffectsRender))

Definition at line 122 of file ScaleBar.cs.

readonly DependencyProperty SiliconStudio.Presentation.Controls.ScaleBar.ForegroundProperty
static
Initial value:
= DependencyProperty.Register(
"Foreground",
typeof(Brush),
typeof(ScaleBar),
new FrameworkPropertyMetadata(Brushes.Black, FrameworkPropertyMetadataOptions.AffectsRender))

Definition at line 110 of file ScaleBar.cs.

readonly DependencyProperty SiliconStudio.Presentation.Controls.ScaleBar.IsAliasedProperty
static
Initial value:
= DependencyProperty.Register(
"IsAliased",
typeof(bool),
typeof(ScaleBar),
new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender, OnIsAliasedPropertyChanged))

Definition at line 186 of file ScaleBar.cs.

readonly DependencyProperty SiliconStudio.Presentation.Controls.ScaleBar.IsDraggingOnLeftMouseButtonProperty
static
Initial value:
= DependencyProperty.Register(
"IsDraggingOnLeftMouseButton",
typeof(bool),
typeof(ScaleBar),
new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender))

Definition at line 216 of file ScaleBar.cs.

readonly DependencyProperty SiliconStudio.Presentation.Controls.ScaleBar.IsDraggingOnRightMouseButtonProperty
static
Initial value:
= DependencyProperty.Register(
"IsDraggingOnRightMouseButton",
typeof(bool),
typeof(ScaleBar),
new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender))

Definition at line 222 of file ScaleBar.cs.

readonly DependencyProperty SiliconStudio.Presentation.Controls.ScaleBar.IsSmallTickVisibleProperty
static
Initial value:
= DependencyProperty.Register(
"IsSmallTickVisible",
typeof(bool),
typeof(ScaleBar),
new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender))

Definition at line 198 of file ScaleBar.cs.

readonly DependencyProperty SiliconStudio.Presentation.Controls.ScaleBar.IsTextVisibleProperty
static
Initial value:
= DependencyProperty.Register(
"IsTextVisible",
typeof(bool),
typeof(ScaleBar),
new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender))

Definition at line 192 of file ScaleBar.cs.

readonly DependencyProperty SiliconStudio.Presentation.Controls.ScaleBar.IsZoomingOnMouseWheelProperty
static
Initial value:
= DependencyProperty.Register(
"IsZoomingOnMouseWheel",
typeof(bool),
typeof(ScaleBar),
new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender))

Definition at line 204 of file ScaleBar.cs.

readonly DependencyProperty SiliconStudio.Presentation.Controls.ScaleBar.LargeTickBottomProperty
static
Initial value:
= DependencyProperty.Register(
"LargeTickBottom",
typeof(double),
typeof(ScaleBar),
new FrameworkPropertyMetadata(1.0, FrameworkPropertyMetadataOptions.AffectsRender))

Definition at line 74 of file ScaleBar.cs.

readonly DependencyProperty SiliconStudio.Presentation.Controls.ScaleBar.LargeTickPenProperty
static
Initial value:
= DependencyProperty.Register(
"LargeTickPen",
typeof(Pen),
typeof(ScaleBar),
new FrameworkPropertyMetadata(new Pen(Brushes.Black, 1.0), FrameworkPropertyMetadataOptions.AffectsRender))

Definition at line 56 of file ScaleBar.cs.

readonly DependencyProperty SiliconStudio.Presentation.Controls.ScaleBar.LargeTickTopProperty
static
Initial value:
= DependencyProperty.Register(
"LargeTickTop",
typeof(double),
typeof(ScaleBar),
new FrameworkPropertyMetadata(0.625, FrameworkPropertyMetadataOptions.AffectsRender))

Definition at line 68 of file ScaleBar.cs.

readonly DependencyProperty SiliconStudio.Presentation.Controls.ScaleBar.MaximumUnitsPerTickProperty
static
Initial value:
= DependencyProperty.Register(
"MaximumUnitsPerTick",
typeof(double),
typeof(ScaleBar),
new FrameworkPropertyMetadata(1e12, FrameworkPropertyMetadataOptions.AffectsRender, OnUnitsPerTickPropertyChanged))

Definition at line 140 of file ScaleBar.cs.

readonly DependencyProperty SiliconStudio.Presentation.Controls.ScaleBar.MinimumUnitsPerTickProperty
static
Initial value:
= DependencyProperty.Register(
"MinimumUnitsPerTick",
typeof(double),
typeof(ScaleBar),
new FrameworkPropertyMetadata(1e-12, FrameworkPropertyMetadataOptions.AffectsRender, OnUnitsPerTickPropertyChanged))

Definition at line 134 of file ScaleBar.cs.

readonly DependencyProperty SiliconStudio.Presentation.Controls.ScaleBar.MouseWheelZoomCoeficientProperty
static
Initial value:
= DependencyProperty.Register(
"MouseWheelZoomCoeficient",
typeof(double),
typeof(ScaleBar),
new FrameworkPropertyMetadata(1.1, FrameworkPropertyMetadataOptions.AffectsRender))

Definition at line 210 of file ScaleBar.cs.

readonly DependencyProperty SiliconStudio.Presentation.Controls.ScaleBar.PixelsPerTickProperty
static
Initial value:
= DependencyProperty.Register(
"PixelsPerTick",
typeof(double),
typeof(ScaleBar),
new FrameworkPropertyMetadata(100.0, FrameworkPropertyMetadataOptions.AffectsRender, OnPixelsPerTickPropertyChanged, CoercePixelsPerTickPropertyValue))

Definition at line 152 of file ScaleBar.cs.

readonly DependencyProperty SiliconStudio.Presentation.Controls.ScaleBar.PixelsPerUnitProperty = PixelsPerUnitPropertyKey.DependencyProperty
static

Definition at line 177 of file ScaleBar.cs.

readonly RoutedEvent SiliconStudio.Presentation.Controls.ScaleBar.ScaleChangedEvent
static
Initial value:
= EventManager.RegisterRoutedEvent(
"ScaleChanged",
RoutingStrategy.Bubble,
typeof(ScaleBar))

Definition at line 276 of file ScaleBar.cs.

readonly RoutedEvent SiliconStudio.Presentation.Controls.ScaleBar.ScaleChangingEvent
static
Initial value:
= EventManager.RegisterRoutedEvent(
"ScaleChanging",
RoutingStrategy.Bubble,
typeof(ScaleBar))

Definition at line 270 of file ScaleBar.cs.

readonly DependencyProperty SiliconStudio.Presentation.Controls.ScaleBar.SmallTickBottomProperty
static
Initial value:
= DependencyProperty.Register(
"SmallTickBottom",
typeof(double),
typeof(ScaleBar),
new FrameworkPropertyMetadata(1.0, FrameworkPropertyMetadataOptions.AffectsRender))

Definition at line 86 of file ScaleBar.cs.

readonly DependencyProperty SiliconStudio.Presentation.Controls.ScaleBar.SmallTickPenProperty
static
Initial value:
= DependencyProperty.Register(
"SmallTickPen",
typeof(Pen),
typeof(ScaleBar),
new FrameworkPropertyMetadata(new Pen(Brushes.Gray, 1.0), FrameworkPropertyMetadataOptions.AffectsRender))

Definition at line 62 of file ScaleBar.cs.

readonly DependencyProperty SiliconStudio.Presentation.Controls.ScaleBar.SmallTickTopProperty
static
Initial value:
= DependencyProperty.Register(
"SmallTickTop",
typeof(double),
typeof(ScaleBar),
new FrameworkPropertyMetadata(0.75, FrameworkPropertyMetadataOptions.AffectsRender))

Definition at line 80 of file ScaleBar.cs.

readonly DependencyProperty SiliconStudio.Presentation.Controls.ScaleBar.StartUnitProperty
static
Initial value:
= DependencyProperty.Register(
"StartUnit",
typeof(double),
typeof(ScaleBar),
new FrameworkPropertyMetadata(0.0, FrameworkPropertyMetadataOptions.AffectsRender))

Definition at line 128 of file ScaleBar.cs.

readonly DependencyProperty SiliconStudio.Presentation.Controls.ScaleBar.SymbolProperty
static
Initial value:
= DependencyProperty.Register(
"UnitSymbol",
typeof(string),
typeof(ScaleBar),
new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsRender))

Definition at line 234 of file ScaleBar.cs.

readonly DependencyProperty SiliconStudio.Presentation.Controls.ScaleBar.TextPositionOriginProperty
static
Initial value:
= DependencyProperty.Register(
"TextPositionOrigin",
typeof(Point),
typeof(ScaleBar),
new FrameworkPropertyMetadata(new Point(0.5, 0.0), FrameworkPropertyMetadataOptions.AffectsRender))

Definition at line 98 of file ScaleBar.cs.

readonly DependencyProperty SiliconStudio.Presentation.Controls.ScaleBar.TextPositionProperty
static
Initial value:
= DependencyProperty.Register(
"TextPosition",
typeof(double),
typeof(ScaleBar),
new FrameworkPropertyMetadata(0.0, FrameworkPropertyMetadataOptions.AffectsRender))

Definition at line 104 of file ScaleBar.cs.

readonly DependencyProperty SiliconStudio.Presentation.Controls.ScaleBar.TickTextUnitDividerProperty
static
Initial value:
= DependencyProperty.Register(
"TickTextUnitDivider",
typeof(double),
typeof(ScaleBar),
new FrameworkPropertyMetadata(1.0, FrameworkPropertyMetadataOptions.AffectsRender))

Definition at line 240 of file ScaleBar.cs.

readonly DependencyProperty SiliconStudio.Presentation.Controls.ScaleBar.UnitsPerTickProperty
static
Initial value:
= DependencyProperty.Register(
"UnitsPerTick",
typeof(double),
typeof(ScaleBar),
new FrameworkPropertyMetadata(1.0, FrameworkPropertyMetadataOptions.AffectsRender, OnUnitsPerTickPropertyChanged, CoerceUnitsPerTickPropertyValue))

Definition at line 146 of file ScaleBar.cs.

readonly DependencyProperty SiliconStudio.Presentation.Controls.ScaleBar.UnitSystemProperty
static
Initial value:
= DependencyProperty.Register(
"UnitSystem",
typeof(UnitSystem),
typeof(ScaleBar),
new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsRender, OnUnitSystemPropertyChanged))

Definition at line 228 of file ScaleBar.cs.

Property Documentation

double SiliconStudio.Presentation.Controls.ScaleBar.AdjustedPixelsPerTick
getset

Definition at line 528 of file ScaleBar.cs.

double SiliconStudio.Presentation.Controls.ScaleBar.AdjustedPixelsPerUnit
getset

Definition at line 540 of file ScaleBar.cs.

double SiliconStudio.Presentation.Controls.ScaleBar.AdjustedUnitsPerTick
getset

Definition at line 516 of file ScaleBar.cs.

RoutedEventHandler SiliconStudio.Presentation.Controls.ScaleBar.AfterRender
addremove

Definition at line 303 of file ScaleBar.cs.

CustomRenderRoutedEventHandler SiliconStudio.Presentation.Controls.ScaleBar.AfterTicksRender
addremove

Definition at line 315 of file ScaleBar.cs.

Brush SiliconStudio.Presentation.Controls.ScaleBar.Background
getset

Definition at line 385 of file ScaleBar.cs.

RoutedEventHandler SiliconStudio.Presentation.Controls.ScaleBar.BeforeRender
addremove

Definition at line 297 of file ScaleBar.cs.

CustomRenderRoutedEventHandler SiliconStudio.Presentation.Controls.ScaleBar.BeforeTicksRender
addremove

Definition at line 309 of file ScaleBar.cs.

DrawingContext SiliconStudio.Presentation.Controls.ScaleBar.CustomDrawingContext
getset

Definition at line 379 of file ScaleBar.cs.

int SiliconStudio.Presentation.Controls.ScaleBar.DecimalCountRounding
getset

Definition at line 447 of file ScaleBar.cs.

Typeface SiliconStudio.Presentation.Controls.ScaleBar.Font
getset

Definition at line 480 of file ScaleBar.cs.

double SiliconStudio.Presentation.Controls.ScaleBar.FontSize
getset

Definition at line 486 of file ScaleBar.cs.

Brush SiliconStudio.Presentation.Controls.ScaleBar.Foreground
getset

Definition at line 474 of file ScaleBar.cs.

bool SiliconStudio.Presentation.Controls.ScaleBar.IsAliased
getset

Definition at line 546 of file ScaleBar.cs.

bool SiliconStudio.Presentation.Controls.ScaleBar.IsDraggingOnLeftMouseButton
getset

Definition at line 576 of file ScaleBar.cs.

bool SiliconStudio.Presentation.Controls.ScaleBar.IsDraggingOnRightMouseButton
getset

Definition at line 582 of file ScaleBar.cs.

bool SiliconStudio.Presentation.Controls.ScaleBar.IsSmallTickVisible
getset

Definition at line 558 of file ScaleBar.cs.

bool SiliconStudio.Presentation.Controls.ScaleBar.IsTextVisible
getset

Definition at line 552 of file ScaleBar.cs.

bool SiliconStudio.Presentation.Controls.ScaleBar.IsZoomingOnMouseWheel
getset

Definition at line 564 of file ScaleBar.cs.

double SiliconStudio.Presentation.Controls.ScaleBar.LargeTickBottom
getset

Gets or sets the relative bottom (Y) coordinate of the drawn large ticks. This is a dependency property.

The coordinate is relative, that means 0.0 is top and 1.0 is bottom. The coordinate can be set to less than 0.0 or more than 1.0 where additional offset is needed.

Definition at line 419 of file ScaleBar.cs.

Pen SiliconStudio.Presentation.Controls.ScaleBar.LargeTickPen
getset

Definition at line 391 of file ScaleBar.cs.

double SiliconStudio.Presentation.Controls.ScaleBar.LargeTickTop
getset

Gets or sets the relative top (Y) coordinate of the drawn large ticks. This is a dependency property.

The coordinate is relative, that means 0.0 is top and 1.0 is bottom. The coordinate can be set to less than 0.0 or more than 1.0 where additional offset is needed.

Definition at line 408 of file ScaleBar.cs.

double SiliconStudio.Presentation.Controls.ScaleBar.MaximumUnitsPerTick
getset

Definition at line 504 of file ScaleBar.cs.

double SiliconStudio.Presentation.Controls.ScaleBar.MinimumUnitsPerTick
getset

Definition at line 498 of file ScaleBar.cs.

double SiliconStudio.Presentation.Controls.ScaleBar.MouseWheelZoomCoeficient
getset

Definition at line 570 of file ScaleBar.cs.

double SiliconStudio.Presentation.Controls.ScaleBar.PixelsPerTick
getset

Definition at line 522 of file ScaleBar.cs.

double SiliconStudio.Presentation.Controls.ScaleBar.PixelsPerUnit
getset

Definition at line 534 of file ScaleBar.cs.

RoutedDependencyPropertyChangedEventHandler SiliconStudio.Presentation.Controls.ScaleBar.ScaleChanged
addremove

Definition at line 327 of file ScaleBar.cs.

RoutedDependencyPropertyChangedEventHandler SiliconStudio.Presentation.Controls.ScaleBar.ScaleChanging
addremove

Definition at line 321 of file ScaleBar.cs.

double SiliconStudio.Presentation.Controls.ScaleBar.SmallTickBottom
getset

Gets or sets the relative bottom (Y) coordinate of the drawn small ticks. This is a dependency property.

The coordinate is relative, that means 0.0 is top and 1.0 is bottom. The coordinate can be set to less than 0.0 or more than 1.0 where additional offset is needed.

Definition at line 441 of file ScaleBar.cs.

Pen SiliconStudio.Presentation.Controls.ScaleBar.SmallTickPen
getset

Definition at line 397 of file ScaleBar.cs.

double SiliconStudio.Presentation.Controls.ScaleBar.SmallTickTop
getset

Gets or sets the relative top (Y) coordinate of the drawn small ticks. This is a dependency property.

The coordinate is relative, that means 0.0 is top and 1.0 is bottom. The coordinate can be set to less than 0.0 or more than 1.0 where additional offset is needed.

Definition at line 430 of file ScaleBar.cs.

double SiliconStudio.Presentation.Controls.ScaleBar.StartUnit
getset

Definition at line 492 of file ScaleBar.cs.

double SiliconStudio.Presentation.Controls.ScaleBar.TextPosition
getset

Gets or sets the relative top (Y) coordinate of the center of the drawn text. This is a dependency property.

The coordinate is relative, that means 0.0 is top and 1.0 is bottom. The coordinate can be set to less than 0.0 or more than 1.0 where additional offset is needed.

Definition at line 468 of file ScaleBar.cs.

Point SiliconStudio.Presentation.Controls.ScaleBar.TextPositionOrigin
getset

Gets or sets the center point of drawn text, relative to the bounds of the drawn text itself. This is a dependency property.

Each coordinate axis can be set to less than 0.0 or more than 1.0 where additional offset is needed.

Definition at line 457 of file ScaleBar.cs.

double SiliconStudio.Presentation.Controls.ScaleBar.TickTextUnitDivider
getset

Definition at line 600 of file ScaleBar.cs.

double SiliconStudio.Presentation.Controls.ScaleBar.UnitsPerTick
getset

Definition at line 510 of file ScaleBar.cs.

string SiliconStudio.Presentation.Controls.ScaleBar.UnitSymbol
getset

Definition at line 594 of file ScaleBar.cs.

UnitSystem SiliconStudio.Presentation.Controls.ScaleBar.UnitSystem
getset

Definition at line 588 of file ScaleBar.cs.


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