8 implementations of IPaddingElement
Microsoft.Maui.Controls (8)
Border\Border.cs (1)
13 public class Border : View, IContentView, IBorderView, IPaddingElement
Button\Button.cs (1)
16 public partial class Button : View, IFontElement, ITextElement, IBorderElement, IButtonController, IElementConfiguration<Button>, IPaddingElement, IImageController, IViewController, IButtonElement, ICommandElement, IImageElement, IButton, ITextButton, IImageButton
Frame\Frame.cs (1)
11 public partial class Frame : ContentView, IElementConfiguration<Frame>, IPaddingElement, IBorderElement, IView, IContentView
ImageButton\ImageButton.cs (1)
14 public partial class ImageButton : View, IImageController, IElementConfiguration<ImageButton>, IBorderElement, IButtonController, IViewController, IPaddingElement, IButtonElement, ICommandElement, IImageElement, IImageButton
Label\Label.cs (1)
15 public partial class Label : View, IFontElement, ITextElement, ITextAlignmentElement, ILineHeightElement, IElementConfiguration<Label>, IDecorableTextElement, IPaddingElement, ILabel
Layout\Layout.cs (1)
17 public abstract partial class Layout : View, Maui.ILayout, IList<IView>, IBindableLayout, IPaddingElement, IVisualTreeElement, ISafeAreaView, IInputTransparentContainerElement
LegacyLayouts\Layout.cs (1)
93 public abstract class Layout : View, ILayout, ILayoutController, IPaddingElement, IView, IVisualTreeElement, IInputTransparentContainerElement
Page\Page.cs (1)
21 public partial class Page : VisualElement, ILayout, IPageController, IElementConfiguration<Page>, IPaddingElement, ISafeAreaView, ISafeAreaView2, IView, ITitledElement, IToolbarElement
27 references to IPaddingElement
Microsoft.Maui.Controls (27)
Button\Button.cs (2)
120 Thickness IPaddingElement.PaddingDefaultValueCreator() => new Thickness(double.NaN); 132 void IPaddingElement.OnPaddingPropertyChanged(Thickness oldValue, Thickness newValue)
Frame\Frame.cs (1)
31 Thickness IPaddingElement.PaddingDefaultValueCreator()
ImageButton\ImageButton.cs (2)
220 Thickness IPaddingElement.PaddingDefaultValueCreator() 225 void IPaddingElement.OnPaddingPropertyChanged(Thickness oldValue, Thickness newValue)
Label\Label.cs (2)
410 Thickness IPaddingElement.PaddingDefaultValueCreator() => default; 412 void IPaddingElement.OnPaddingPropertyChanged(Thickness oldValue, Thickness newValue) =>
Layout\Layout.cs (2)
337 void IPaddingElement.OnPaddingPropertyChanged(Thickness oldValue, Thickness newValue) 342 Thickness IPaddingElement.PaddingDefaultValueCreator()
LegacyLayouts\Layout.cs (2)
159 Thickness IPaddingElement.PaddingDefaultValueCreator() => default(Thickness); 161 void IPaddingElement.OnPaddingPropertyChanged(Thickness oldValue, Thickness newValue) => InvalidateLayout();
PaddingElement.cs (9)
6 /// <summary>Bindable property for <see cref="IPaddingElement.Padding"/>.</summary> 8 BindableProperty.Create(nameof(IPaddingElement.Padding), typeof(Thickness), typeof(IPaddingElement), default(Thickness), 14 ((IPaddingElement)bindable).OnPaddingPropertyChanged((Thickness)oldValue, (Thickness)newValue); 19 return ((IPaddingElement)bindable).PaddingDefaultValueCreator(); 24 BindableProperty.Create("PaddingLeft", typeof(double), typeof(IPaddingElement), default(double), 36 BindableProperty.Create("PaddingTop", typeof(double), typeof(IPaddingElement), default(double), 48 BindableProperty.Create("PaddingRight", typeof(double), typeof(IPaddingElement), default(double), 60 BindableProperty.Create("PaddingBottom", typeof(double), typeof(IPaddingElement), default(double),
Page\Page.cs (2)
143 Thickness IPaddingElement.PaddingDefaultValueCreator() 148 void IPaddingElement.OnPaddingPropertyChanged(Thickness oldValue, Thickness newValue)
Properties\AssemblyInfo.cs (5)
115[assembly: StyleProperty("padding", typeof(IPaddingElement), nameof(PaddingElement.PaddingProperty))] 116[assembly: StyleProperty("padding-left", typeof(IPaddingElement), nameof(PaddingElement.PaddingLeftProperty), PropertyOwnerType = typeof(PaddingElement))] 117[assembly: StyleProperty("padding-top", typeof(IPaddingElement), nameof(PaddingElement.PaddingTopProperty), PropertyOwnerType = typeof(PaddingElement))] 118[assembly: StyleProperty("padding-right", typeof(IPaddingElement), nameof(PaddingElement.PaddingRightProperty), PropertyOwnerType = typeof(PaddingElement))] 119[assembly: StyleProperty("padding-bottom", typeof(IPaddingElement), nameof(PaddingElement.PaddingBottomProperty), PropertyOwnerType = typeof(PaddingElement))]