12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- using System.Windows;
- using System.Windows.Controls;
- namespace VirgoUI.Client.Controls.Parts
- {
- /// <summary>
- /// Foup.xaml 的交互逻辑
- /// </summary>
- public partial class Foup : UserControl
- {
- public Foup()
- {
- InitializeComponent();
- }
- public Visibility IdleVisibility
- {
- get { return (Visibility)GetValue(IdleVisibilityProperty); }
- set { SetValue(IdleVisibilityProperty, value); }
- }
- public static readonly DependencyProperty IdleVisibilityProperty =
- DependencyProperty.Register("IdleVisibility", typeof(Visibility), typeof(Foup), new FrameworkPropertyMetadata(Visibility.Hidden, FrameworkPropertyMetadataOptions.AffectsRender));
- public Visibility BusyVisibility
- {
- get { return (Visibility)GetValue(BusyVisibilityProperty); }
- set { SetValue(BusyVisibilityProperty, value); }
- }
- public static readonly DependencyProperty BusyVisibilityProperty =
- DependencyProperty.Register("BusyVisibility", typeof(Visibility), typeof(Foup), new FrameworkPropertyMetadata(Visibility.Hidden, FrameworkPropertyMetadataOptions.AffectsRender));
- public Visibility CompleteVisibility
- {
- get { return (Visibility)GetValue(CompleteVisibilityProperty); }
- set { SetValue(CompleteVisibilityProperty, value); }
- }
- public static readonly DependencyProperty CompleteVisibilityProperty =
- DependencyProperty.Register("CompleteVisibility", typeof(Visibility), typeof(Foup), new FrameworkPropertyMetadata(Visibility.Hidden, FrameworkPropertyMetadataOptions.AffectsRender));
- public Visibility ErrorVisibility
- {
- get { return (Visibility)GetValue(ErrorVisibilityProperty); }
- set { SetValue(ErrorVisibilityProperty, value); }
- }
- public static readonly DependencyProperty ErrorVisibilityProperty =
- DependencyProperty.Register("ErrorVisibility", typeof(Visibility), typeof(Foup), new FrameworkPropertyMetadata(Visibility.Hidden, FrameworkPropertyMetadataOptions.AffectsRender));
- }
- }
|