Inheritance: FragmentRootControlProvider
		public PartRangeValueProviderBehavior (
			DateTimePickerProvider.DateTimePickerPartProvider partProvider)
			: base (partProvider)
		{
			this.partProvider = partProvider;
			this.dateTimePicker = (SWF.DateTimePicker) partProvider.Control;
		}
Esempio n. 2
0
 public DateTimePickerListPartProvider(DateTimePickerProvider rootProvider,
                                       DateTimePicker.PartData part_data,
                                       int part_index)
     : base(rootProvider, part_data, part_index)
 {
     this.dateTimePicker = (DateTimePicker)rootProvider.Control;
 }
Esempio n. 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;
 }
Esempio n. 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);
		}
Esempio n. 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;
		}
Esempio n. 11
0
			public DateTimePickerListPartProvider (DateTimePickerProvider rootProvider,
			                                       DateTimePicker.PartData part_data,
			                                       int part_index)
				: base (rootProvider, part_data, part_index)
			{
				this.dateTimePicker = (DateTimePicker) rootProvider.Control;
			}
Esempio n. 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;
			}
Esempio n. 13
0
			public DateTimePickerButtonProvider (DateTimePickerProvider rootProvider)
				: base (rootProvider.Control)
			{
				this.rootProvider = rootProvider;

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

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

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