1 write to Button
Microsoft.Maui.Controls.Compatibility (1)
Android\FastRenderers\ButtonRenderer.cs (1)
118
Button
= (Button)element;
13 references to Button
Microsoft.Maui.Controls.Compatibility (13)
Android\FastRenderers\ButtonRenderer.cs (13)
45
protected Button Element =>
Button
;
66
void IOnClickListener.OnClick(AView v) => ButtonElementManager.OnClick(
Button
,
Button
, v);
68
bool IOnTouchListener.OnTouch(AView v, MotionEvent e) => ButtonElementManager.OnTouch(
Button
,
Button
, v, e);
79
((IElementController)
Button
).SetValueFromRenderer(VisualElement.IsFocusedPropertyKey, hasFocus);
114
throw new ArgumentException($"{nameof(element)} must be of type {nameof(
Button
)}");
117
VisualElement oldElement =
Button
;
122
OnElementChanged(new ElementChangedEventArgs<Button>(oldElement as Button,
Button
));
324
Font font = (
Button
as ITextStyle).Font;
366
_textColorSwitcher.Value.UpdateTextColor(this,
Button
.TextColor);
372
LetterSpacing =
Button
.CharacterSpacing.ToEm();
387
_platformElementConfiguration =
Button
.OnThisPlatform();