Rev | Line | |
---|
[12503] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 | using System.Linq;
|
---|
| 4 | using System.Text;
|
---|
| 5 | using System.Windows.Controls;
|
---|
| 6 | using System.Windows;
|
---|
| 7 | using System.Windows.Shapes;
|
---|
| 8 |
|
---|
| 9 | namespace Microsoft.Research.DynamicDataDisplay.Charts
|
---|
| 10 | {
|
---|
| 11 | public abstract class AxisControlBase : ContentControl
|
---|
| 12 | {
|
---|
| 13 | #region Properties
|
---|
| 14 |
|
---|
| 15 | public HorizontalAlignment LabelsHorizontalAlignment
|
---|
| 16 | {
|
---|
| 17 | get { return (HorizontalAlignment)GetValue(LabelsHorizontalAlignmentProperty); }
|
---|
| 18 | set { SetValue(LabelsHorizontalAlignmentProperty, value); }
|
---|
| 19 | }
|
---|
| 20 |
|
---|
| 21 | public static readonly DependencyProperty LabelsHorizontalAlignmentProperty = DependencyProperty.Register(
|
---|
| 22 | "LabelsHorizontalAlignment",
|
---|
| 23 | typeof(HorizontalAlignment),
|
---|
| 24 | typeof(AxisControlBase),
|
---|
| 25 | new FrameworkPropertyMetadata(HorizontalAlignment.Center));
|
---|
| 26 |
|
---|
| 27 |
|
---|
| 28 | public VerticalAlignment LabelsVerticalAlignment
|
---|
| 29 | {
|
---|
| 30 | get { return (VerticalAlignment)GetValue(LabelsVerticalAlignmentProperty); }
|
---|
| 31 | set { SetValue(LabelsVerticalAlignmentProperty, value); }
|
---|
| 32 | }
|
---|
| 33 |
|
---|
| 34 | public static readonly DependencyProperty LabelsVerticalAlignmentProperty = DependencyProperty.Register(
|
---|
| 35 | "LabelsVerticalAlignment",
|
---|
| 36 | typeof(VerticalAlignment),
|
---|
| 37 | typeof(AxisControlBase),
|
---|
| 38 | new FrameworkPropertyMetadata(VerticalAlignment.Center));
|
---|
| 39 |
|
---|
| 40 | public abstract Path TicksPath { get; }
|
---|
| 41 |
|
---|
| 42 | #endregion // end of Properties
|
---|
| 43 |
|
---|
| 44 | }
|
---|
| 45 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.