Inheritance: FragmentRootControlProvider
		public PartRangeValueProviderBehavior (
			DateTimePickerProvider.DateTimePickerPartProvider partProvider)
			: base (partProvider)
		{
			this.partProvider = partProvider;
			this.dateTimePicker = (SWF.DateTimePicker) partProvider.Control;
		}
示例#2
0
 public DateTimePickerListPartProvider(DateTimePickerProvider rootProvider,
                                       DateTimePicker.PartData part_data,
                                       int part_index)
     : base(rootProvider, part_data, part_index)
 {
     this.dateTimePicker = (DateTimePicker)rootProvider.Control;
 }
示例#3
0
 public DateTimePickerPartProvider(DateTimePickerProvider rootProvider,
                                   DateTimePicker.PartData part_data,
                                   int part_index)
     : base(rootProvider.Control)
 {
     this.rootProvider = rootProvider;
     this.part_data    = part_data;
     this.part_index   = part_index;
 }
示例#4
0
            public DateTimePickerButtonProvider(DateTimePickerProvider rootProvider)
                : base(rootProvider.Control)
            {
                this.rootProvider = rootProvider;

                SetBehavior(InvokePatternIdentifiers.Pattern,
                            new ButtonInvokeProviderBehavior(
                                this, rootProvider));
            }
		public PartSelectionPatternSelectionEvent (
			DateTimePickerProvider.DateTimePickerPartProvider partProvider,
			DateTimePickerProvider pickerProvider)
			: base (partProvider, SelectionPatternIdentifiers.SelectionProperty)
		{
			this.partProvider = partProvider;

			oldValue = partProvider.Text;
		}
		public PartSelectionPatternInvalidatedEvent (
			DateTimePickerProvider.DateTimePickerPartProvider partProvider,
			DateTimePickerProvider pickerProvider)
			: base (partProvider, SelectionPatternIdentifiers.InvalidatedEvent)
		{
			this.partProvider = partProvider;

			oldValue = partProvider.Text;
		}
		public PartListItemSelectionItemPatternElementSelectedEvent (
			ListItemProvider provider,
			DateTimePickerProvider.DateTimePickerListPartProvider listProvider)
			: base (provider, 
			        SelectionItemPatternIdentifiers.ElementSelectedEvent)
		{
			this.listProvider = listProvider;
			this.listItemProvider = provider;
			
			isSelected = listProvider.IsItemSelected (listItemProvider);
		}
示例#8
0
            public DateTimePickerCheckBoxProvider(DateTimePickerProvider rootProvider)
                : base(rootProvider.Control)
            {
                this.rootProvider = rootProvider;

                SetBehavior(TogglePatternIdentifiers.Pattern,
                            new ToggleProviderBehavior(this));

                SetEvent(ProviderEventType.AutomationElementHasKeyboardFocusProperty,
                         new CheckboxAutomationHasKeyboardFocusPropertyEvent(this));
            }
		public PartListItemAutomationHasKeyboardFocusPropertyEvent (
			ListItemProvider provider,
			DateTimePickerProvider.DateTimePickerListPartProvider listProvider)
			: base (provider, 
			        AutomationElementIdentifiers.HasKeyboardFocusProperty)
		{
			this.listProvider = listProvider;
			this.listItemProvider = provider;
			
			isSelected = listProvider.IsItemSelected (listItemProvider);
		}
		public PartListItemValueProviderBehavior (
			DateTimePickerProvider.DateTimePickerListPartItemProvider partItemProvider)
			: base (partItemProvider)
		{
			this.partItemProvider = partItemProvider;
		}
示例#11
0
			public DateTimePickerListPartProvider (DateTimePickerProvider rootProvider,
			                                       DateTimePicker.PartData part_data,
			                                       int part_index)
				: base (rootProvider, part_data, part_index)
			{
				this.dateTimePicker = (DateTimePicker) rootProvider.Control;
			}
示例#12
0
			public DateTimePickerPartProvider (DateTimePickerProvider rootProvider,
			                                   DateTimePicker.PartData part_data,
			                                   int part_index)
				: base (rootProvider.Control)
			{
				this.rootProvider = rootProvider;
				this.part_data = part_data;
				this.part_index = part_index;
			}
示例#13
0
			public DateTimePickerButtonProvider (DateTimePickerProvider rootProvider)
				: base (rootProvider.Control)
			{
				this.rootProvider = rootProvider;

				SetBehavior (InvokePatternIdentifiers.Pattern,
				             new ButtonInvokeProviderBehavior (
				                     this, rootProvider));
			}
示例#14
0
			public DateTimePickerCheckBoxProvider (DateTimePickerProvider rootProvider)
				: base (rootProvider.Control)
			{
				this.rootProvider = rootProvider;

				SetBehavior (TogglePatternIdentifiers.Pattern,
				             new ToggleProviderBehavior (this));

				SetEvent (ProviderEventType.AutomationElementHasKeyboardFocusProperty,
					  new CheckboxAutomationHasKeyboardFocusPropertyEvent (this));
			}
		public ButtonInvokeProviderBehavior (FragmentControlProvider provider,
		                                     DateTimePickerProvider dateTimePicker)
			: base (provider)
		{
			this.dateTimePicker = dateTimePicker;
		}
		public PartSelectionProviderBehavior (
			DateTimePickerProvider.DateTimePickerListPartProvider provider)
			: base (provider)
		{
			this.listPartProvider = provider;
		}