123456789101112131415161718192021 |
- using System.Windows;
- using System.Windows.Controls;
- namespace FISSDKDemo
- {
- class Spinner:Control
- {
- public static readonly DependencyProperty StrokeThicknessProperty = DependencyProperty.Register("StrokeThickness", typeof(double), typeof(Spinner), new PropertyMetadata(0d));
- static Spinner()
- {
- DefaultStyleKeyProperty.OverrideMetadata(typeof(Spinner), new FrameworkPropertyMetadata(typeof(Spinner)));
- }
- public double StrokeThickness
- {
- get { return (double)GetValue(StrokeThicknessProperty); }
- set { SetValue(StrokeThicknessProperty, value); }
- }
- }
- }
|