WindowManagerLayoutParams Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| WindowManagerLayoutParams() |
Initializes a new instance of WindowManagerLayoutParams. |
| WindowManagerLayoutParams(Parcel) |
Creates window layout parameters from the supplied parcel. |
| WindowManagerLayoutParams(WindowManagerTypes) |
Creates window layout parameters with the supplied window type. |
| WindowManagerLayoutParams(WindowManagerTypes, WindowManagerFlags) |
Creates window layout parameters with the supplied window type and flags. |
| WindowManagerLayoutParams(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
| WindowManagerLayoutParams(WindowManagerTypes, WindowManagerFlags, Format) |
Creates window layout parameters with the supplied window type, flags, and pixel format. |
| WindowManagerLayoutParams(Int32, Int32, WindowManagerTypes, WindowManagerFlags, Format) |
Creates window layout parameters with the supplied dimensions, window type, flags, and pixel format. |
| WindowManagerLayoutParams(Int32, Int32, Int32, Int32, WindowManagerTypes, WindowManagerFlags, Format) |
Creates window layout parameters with the supplied dimensions, position, window type, flags, and pixel format. |
WindowManagerLayoutParams()
Initializes a new instance of WindowManagerLayoutParams.
[Android.Runtime.Register(".ctor", "()V", "")]
public WindowManagerLayoutParams();
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
WindowManagerLayoutParams(Parcel)
Creates window layout parameters from the supplied parcel.
[Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")]
public WindowManagerLayoutParams(Android.OS.Parcel? in);
[<Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")>]
new Android.Views.WindowManagerLayoutParams : Android.OS.Parcel -> Android.Views.WindowManagerLayoutParams
Parameters
- in
- Parcel
The Android.OS.Parcel value used for in.
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
WindowManagerLayoutParams(WindowManagerTypes)
Creates window layout parameters with the supplied window type.
[Android.Runtime.Register(".ctor", "(I)V", "")]
public WindowManagerLayoutParams(Android.Views.WindowManagerTypes _type);
[<Android.Runtime.Register(".ctor", "(I)V", "")>]
new Android.Views.WindowManagerLayoutParams : Android.Views.WindowManagerTypes -> Android.Views.WindowManagerLayoutParams
Parameters
- _type
- WindowManagerTypes
The Android.Views.WindowManagerTypes value used for _type.
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
WindowManagerLayoutParams(WindowManagerTypes, WindowManagerFlags)
Creates window layout parameters with the supplied window type and flags.
[Android.Runtime.Register(".ctor", "(II)V", "")]
public WindowManagerLayoutParams(Android.Views.WindowManagerTypes _type, Android.Views.WindowManagerFlags _flags);
[<Android.Runtime.Register(".ctor", "(II)V", "")>]
new Android.Views.WindowManagerLayoutParams : Android.Views.WindowManagerTypes * Android.Views.WindowManagerFlags -> Android.Views.WindowManagerLayoutParams
Parameters
- _type
- WindowManagerTypes
The Android.Views.WindowManagerTypes value used for _type.
- _flags
- WindowManagerFlags
The Android.Views.WindowManagerFlags value used for _flags.
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
WindowManagerLayoutParams(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected WindowManagerLayoutParams(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Views.WindowManagerLayoutParams : nativeint * Android.Runtime.JniHandleOwnership -> Android.Views.WindowManagerLayoutParams
Parameters
- transfer
- JniHandleOwnership
A JniHandleOwnershipindicating how to handle javaReference
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
WindowManagerLayoutParams(WindowManagerTypes, WindowManagerFlags, Format)
Creates window layout parameters with the supplied window type, flags, and pixel format.
[Android.Runtime.Register(".ctor", "(III)V", "")]
public WindowManagerLayoutParams(Android.Views.WindowManagerTypes _type, Android.Views.WindowManagerFlags _flags, Android.Graphics.Format _format);
[<Android.Runtime.Register(".ctor", "(III)V", "")>]
new Android.Views.WindowManagerLayoutParams : Android.Views.WindowManagerTypes * Android.Views.WindowManagerFlags * Android.Graphics.Format -> Android.Views.WindowManagerLayoutParams
Parameters
- _type
- WindowManagerTypes
The Android.Views.WindowManagerTypes value used for _type.
- _flags
- WindowManagerFlags
The Android.Views.WindowManagerFlags value used for _flags.
- _format
- Format
The Android.Graphics.Format value used for _format.
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
WindowManagerLayoutParams(Int32, Int32, WindowManagerTypes, WindowManagerFlags, Format)
Creates window layout parameters with the supplied dimensions, window type, flags, and pixel format.
[Android.Runtime.Register(".ctor", "(IIIII)V", "")]
public WindowManagerLayoutParams(int w, int h, Android.Views.WindowManagerTypes _type, Android.Views.WindowManagerFlags _flags, Android.Graphics.Format _format);
[<Android.Runtime.Register(".ctor", "(IIIII)V", "")>]
new Android.Views.WindowManagerLayoutParams : int * int * Android.Views.WindowManagerTypes * Android.Views.WindowManagerFlags * Android.Graphics.Format -> Android.Views.WindowManagerLayoutParams
Parameters
- w
- Int32
The System.Int32 value used for w.
- h
- Int32
The System.Int32 value used for h.
- _type
- WindowManagerTypes
The Android.Views.WindowManagerTypes value used for _type.
- _flags
- WindowManagerFlags
The Android.Views.WindowManagerFlags value used for _flags.
- _format
- Format
The Android.Graphics.Format value used for _format.
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
WindowManagerLayoutParams(Int32, Int32, Int32, Int32, WindowManagerTypes, WindowManagerFlags, Format)
Creates window layout parameters with the supplied dimensions, position, window type, flags, and pixel format.
[Android.Runtime.Register(".ctor", "(IIIIIII)V", "")]
public WindowManagerLayoutParams(int w, int h, int xpos, int ypos, Android.Views.WindowManagerTypes _type, Android.Views.WindowManagerFlags _flags, Android.Graphics.Format _format);
[<Android.Runtime.Register(".ctor", "(IIIIIII)V", "")>]
new Android.Views.WindowManagerLayoutParams : int * int * int * int * Android.Views.WindowManagerTypes * Android.Views.WindowManagerFlags * Android.Graphics.Format -> Android.Views.WindowManagerLayoutParams
Parameters
- w
- Int32
The System.Int32 value used for w.
- h
- Int32
The System.Int32 value used for h.
- xpos
- Int32
The System.Int32 value used for xpos.
- ypos
- Int32
The System.Int32 value used for ypos.
- _type
- WindowManagerTypes
The Android.Views.WindowManagerTypes value used for _type.
- _flags
- WindowManagerFlags
The Android.Views.WindowManagerFlags value used for _flags.
- _format
- Format
The Android.Graphics.Format value used for _format.
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.