FrameLayout.Foreground 属性

定义

返回用作此 FrameLayout 的前景的可绘制值。

public override Android.Graphics.Drawables.Drawable? Foreground { [Android.Runtime.Register("getForeground", "()Landroid/graphics/drawable/Drawable;", "GetGetForegroundHandler")] get; [Android.Runtime.Register("setForeground", "(Landroid/graphics/drawable/Drawable;)V", "GetSetForeground_Landroid_graphics_drawable_Drawable_Handler")] set; }
[<get: Android.Runtime.Register("getForeground", "()Landroid/graphics/drawable/Drawable;", "GetGetForegroundHandler")>]
[<set: Android.Runtime.Register("setForeground", "(Landroid/graphics/drawable/Drawable;)V", "GetSetForeground_Landroid_graphics_drawable_Drawable_Handler")>]
member this.Foreground : Android.Graphics.Drawables.Drawable with get, set

属性值

属性

注解

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于