44 references to FromHandler
Microsoft.Maui.Controls (44)
BindableObject.cs (6)
132
if (original.Key == SetterSpecificity.
FromHandler
)
134
bpcontext.Values.Remove(SetterSpecificity.
FromHandler
);
289
=> SetBinding(targetProperty, binding, binding != null && targetProperty != null && binding.GetRealizedMode(targetProperty) == BindingMode.TwoWay ? SetterSpecificity.
FromHandler
: SetterSpecificity.FromBinding);
617
if (specificity != SetterSpecificity.
FromHandler
618
&& originalSpecificity == SetterSpecificity.
FromHandler
)
620
context.Values.Remove(SetterSpecificity.
FromHandler
);
BindableObjectExtensions.cs (1)
28
self.SetValue(property, value, SetterSpecificity.
FromHandler
);
CheckBox\CheckBox.cs (1)
80
set => SetValue(IsCheckedProperty, value, SetterSpecificity.
FromHandler
);
Compatibility\Handlers\ListView\iOS\EntryCellRenderer.cs (1)
99
.SetValue(EntryCell.TextProperty, cell.TextField.Text, specificity: SetterSpecificity.
FromHandler
);
DatePicker\DatePicker.cs (2)
234
set => SetValue(DateProperty, value, SetterSpecificity.
FromHandler
);
240
set => SetValue(FormatProperty, value, SetterSpecificity.
FromHandler
);
Element\Element.cs (2)
483
SetValue(property, value, specificity: SetterSpecificity.
FromHandler
);
490
SetValue(property, value, specificity: SetterSpecificity.
FromHandler
);
IndicatorView\IndicatorView.cs (1)
194
set => SetValue(PositionProperty, value, SetterSpecificity.
FromHandler
);
InputView\InputView.cs (3)
260
set => SetValue(SelectionLengthProperty, value, SetterSpecificity.
FromHandler
);
266
set => SetValue(CursorPositionProperty, value, SetterSpecificity.
FromHandler
);
272
set => SetValue(TextProperty, value, SetterSpecificity.
FromHandler
);
ListView\ListView.cs (2)
524
SetValueCore(SelectedItemProperty, cell?.BindingContext, SetValueFlags.ClearOneWayBindings | SetValueFlags.ClearDynamicResource | (changed ? SetValueFlags.RaiseOnEqual : 0), SetValuePrivateFlags.Default, SetterSpecificity.
FromHandler
);
550
SetValueCore(SelectedItemProperty, cell?.BindingContext, SetValueFlags.ClearOneWayBindings | SetValueFlags.ClearDynamicResource | (changed ? SetValueFlags.RaiseOnEqual : 0), SetValuePrivateFlags.Default, SetterSpecificity.
FromHandler
);
Picker\Picker.cs (7)
372
SetValue(SelectedIndexProperty, newIndex, SetterSpecificity.
FromHandler
);
384
SetValue(SelectedIndexProperty, ItemsSource.IndexOf(selectedItem), SetterSpecificity.
FromHandler
);
387
SetValue(SelectedIndexProperty, Items.IndexOf(selectedItem), SetterSpecificity.
FromHandler
);
396
SetValue(SelectedItemProperty, null, SetterSpecificity.
FromHandler
);
403
SetValue(SelectedItemProperty, item, SetterSpecificity.
FromHandler
);
407
SetValue(SelectedItemProperty, Items[index], SetterSpecificity.
FromHandler
);
437
set => SetValue(SelectedIndexProperty, value, SetterSpecificity.
FromHandler
);
RadioButton\RadioButton.cs (4)
365
SetValue(IsCheckedProperty, true, specificity: SetterSpecificity.
FromHandler
);
428
SetValue(IsCheckedProperty, false, specificity: SetterSpecificity.
FromHandler
);
438
SetValue(IsCheckedProperty, true, specificity: SetterSpecificity.
FromHandler
);
670
set => SetValue(IsCheckedProperty, value, SetterSpecificity.
FromHandler
);
RadioButton\RadioButtonGroupController.cs (1)
109
radioButton.SetValue(RadioButton.IsCheckedProperty, true, specificity: SetterSpecificity.
FromHandler
);
RefreshView\RefreshView.cs (1)
148
set { SetValue(IsRefreshingProperty, value, SetterSpecificity.
FromHandler
); }
Shell\SearchHandler.cs (2)
59
SetValue(IsFocusedPropertyKey, value, specificity: SetterSpecificity.
FromHandler
);
300
SetValue(SelectedItemPropertyKey, obj, specificity: SetterSpecificity.
FromHandler
);
Shell\ShellItem.cs (1)
274
ClearValue(CurrentItemProperty, specificity: SetterSpecificity.
FromHandler
);
Shell\ShellSection.cs (1)
710
ClearValue(CurrentItemProperty, specificity: SetterSpecificity.
FromHandler
);
Switch\Switch.cs (1)
108
set => SetValue(IsToggledProperty, value, SetterSpecificity.
FromHandler
);
TimePicker\TimePicker.cs (1)
161
set => SetValue(TimeProperty, value, SetterSpecificity.
FromHandler
);
VisualElement\VisualElement.cs (1)
1964
set => SetValue(IsFocusedPropertyKey, value, SetterSpecificity.
FromHandler
);
Window\Window.cs (4)
223
SetValue(XProperty, frame.X, SetterSpecificity.
FromHandler
);
224
SetValue(YProperty, frame.Y, SetterSpecificity.
FromHandler
);
225
SetValue(WidthProperty, frame.Width, SetterSpecificity.
FromHandler
);
226
SetValue(HeightProperty, frame.Height, SetterSpecificity.
FromHandler
);
Xaml\Diagnostics\BindablePropertyDiagnostics.cs (1)
31
if (specificity == SetterSpecificity.
FromHandler
)