32 references to SetValue
Microsoft.Maui.Controls (32)
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 (1)
483 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);
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); }
Setter.cs (2)
82 targetObject.SetValue(Property, visualStateGroupCollection.Clone(), specificity); 84 targetObject.SetValue(Property, Value, specificity: specificity);
StyleSheets\Style.cs (1)
82 styleable.SetValue(property, value, new SetterSpecificity(SetterSpecificity.StyleImplicit, 0, 0, 0));
Switch\Switch.cs (1)
108 set => SetValue(IsToggledProperty, value, SetterSpecificity.FromHandler);
TimePicker\TimePicker.cs (1)
161 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);