32 references to SetValue
Microsoft.Maui.Controls (32)
BindableObjectExtensions.cs (1)
28
self.
SetValue
(property, value, SetterSpecificity.FromHandler);
CheckBox\CheckBox.cs (1)
82
set =>
SetValue
(IsCheckedProperty, value, SetterSpecificity.FromHandler);
DatePicker\DatePicker.cs (2)
236
set =>
SetValue
(DateProperty, value, SetterSpecificity.FromHandler);
242
set =>
SetValue
(FormatProperty, value, SetterSpecificity.FromHandler);
Element\Element.cs (1)
483
SetValue
(property, value, specificity: SetterSpecificity.FromHandler);
IndicatorView\IndicatorView.cs (1)
197
set =>
SetValue
(PositionProperty, value, SetterSpecificity.FromHandler);
InputView\InputView.cs (3)
262
set =>
SetValue
(SelectionLengthProperty, value, SetterSpecificity.FromHandler);
268
set =>
SetValue
(CursorPositionProperty, value, SetterSpecificity.FromHandler);
274
set =>
SetValue
(TextProperty, value, SetterSpecificity.FromHandler);
Picker\Picker.cs (7)
374
SetValue
(SelectedIndexProperty, newIndex, SetterSpecificity.FromHandler);
386
SetValue
(SelectedIndexProperty, ItemsSource.IndexOf(selectedItem), SetterSpecificity.FromHandler);
389
SetValue
(SelectedIndexProperty, Items.IndexOf(selectedItem), SetterSpecificity.FromHandler);
398
SetValue
(SelectedItemProperty, null, SetterSpecificity.FromHandler);
405
SetValue
(SelectedItemProperty, item, SetterSpecificity.FromHandler);
409
SetValue
(SelectedItemProperty, Items[index], SetterSpecificity.FromHandler);
439
set =>
SetValue
(SelectedIndexProperty, value, SetterSpecificity.FromHandler);
RadioButton\RadioButton.cs (4)
367
SetValue
(IsCheckedProperty, true, specificity: SetterSpecificity.FromHandler);
430
SetValue
(IsCheckedProperty, false, specificity: SetterSpecificity.FromHandler);
440
SetValue
(IsCheckedProperty, true, specificity: SetterSpecificity.FromHandler);
672
set =>
SetValue
(IsCheckedProperty, value, SetterSpecificity.FromHandler);
RadioButton\RadioButtonGroupController.cs (1)
109
radioButton.
SetValue
(RadioButton.IsCheckedProperty, true, specificity: SetterSpecificity.FromHandler);
RefreshView\RefreshView.cs (1)
150
set {
SetValue
(IsRefreshingProperty, value, SetterSpecificity.FromHandler); }
Setter.cs (2)
82
targetObject.
SetValue
(Property, visualStateGroupCollection.Clone(), specificity);
84
targetObject.
SetValue
(Property, Value, specificity: specificity);
StyleSheets\Style.cs (2)
74
styleable.
SetValue
(property, property.DefaultValue, new SetterSpecificity(SetterSpecificity.StyleImplicit, (byte)selectorSpecificity.Id, (byte)selectorSpecificity.Class, (byte)selectorSpecificity.Type));
81
styleable.
SetValue
(property, value, new SetterSpecificity(SetterSpecificity.StyleImplicit, (byte)selectorSpecificity.Id, (byte)selectorSpecificity.Class, (byte)selectorSpecificity.Type));
Switch\Switch.cs (1)
110
set =>
SetValue
(IsToggledProperty, value, SetterSpecificity.FromHandler);
TimePicker\TimePicker.cs (1)
163
set =>
SetValue
(TimeProperty, 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);