20 references to Frame
Microsoft.Maui.Controls (10)
Frame\Frame.cs (8)
11
public partial class Frame : ContentView, IElementConfiguration<
Frame
>, IPaddingElement, IBorderElement, IView, IContentView
17
public static readonly BindableProperty HasShadowProperty = BindableProperty.Create(nameof(HasShadow), typeof(bool), typeof(
Frame
), true);
20
public static readonly BindableProperty CornerRadiusProperty = BindableProperty.Create(nameof(CornerRadius), typeof(float), typeof(
Frame
), -1.0f,
23
readonly Lazy<PlatformConfigurationRegistry<
Frame
>> _platformConfigurationRegistry;
28
_platformConfigurationRegistry = new Lazy<PlatformConfigurationRegistry<
Frame
>>(() => new PlatformConfigurationRegistry<
Frame
>(this));
68
public IPlatformElementConfiguration<T,
Frame
> On<T>() where T : IConfigPlatform
136
internal static bool IsClippedToBoundsSet(this
Frame
frame, bool defaultValue) =>
Properties\AssemblyInfo.cs (2)
91
[assembly: StyleProperty("border-radius", typeof(
Frame
), nameof(
Frame
.CornerRadiusProperty))]
Microsoft.Maui.Controls.Compatibility (10)
Android\FastRenderers\FrameRenderer.cs (10)
28
Frame
_element;
49
protected
Frame
Element
57
Frame
oldElement = _element;
60
OnElementChanged(new ElementChangedEventArgs<
Frame
>(oldElement, _element));
77
var
frame = element as
Frame
;
163
protected virtual void OnElementChanged(ElementChangedEventArgs<
Frame
> e)
254
if (e.PropertyName ==
Frame
.HasShadowProperty.PropertyName)
260
else if (e.PropertyName ==
Frame
.CornerRadiusProperty.PropertyName)
262
else if (e.PropertyName ==
Frame
.BorderColorProperty.PropertyName)