Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using System.Windows;
|
---|
6 |
|
---|
7 | namespace Microsoft.Research.DynamicDataDisplay.Charts.Axes
|
---|
8 | {
|
---|
9 | internal class LabelProviderProperties : DependencyObject
|
---|
10 | {
|
---|
11 | public static bool GetExponentialIsCommonLabel(DependencyObject obj)
|
---|
12 | {
|
---|
13 | return (bool)obj.GetValue(ExponentialIsCommonLabelProperty);
|
---|
14 | }
|
---|
15 |
|
---|
16 | public static void SetExponentialIsCommonLabel(DependencyObject obj, bool value)
|
---|
17 | {
|
---|
18 | obj.SetValue(ExponentialIsCommonLabelProperty, value);
|
---|
19 | }
|
---|
20 |
|
---|
21 | public static readonly DependencyProperty ExponentialIsCommonLabelProperty = DependencyProperty.RegisterAttached(
|
---|
22 | "ExponentialIsCommonLabel",
|
---|
23 | typeof(bool),
|
---|
24 | typeof(LabelProviderProperties),
|
---|
25 | new FrameworkPropertyMetadata(true));
|
---|
26 | }
|
---|
27 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.