LayoutOptions Struct
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.
A struct whose static members define various alignment and expansion options.
public value class LayoutOptions
public value class LayoutOptions : IEquatable<Microsoft::Maui::Controls::LayoutOptions>
[System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Controls.LayoutOptionsConverter))]
public struct LayoutOptions
[System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Controls.LayoutOptionsConverter))]
public struct LayoutOptions : IEquatable<Microsoft.Maui.Controls.LayoutOptions>
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Controls.LayoutOptionsConverter))>]
type LayoutOptions = struct
Public Structure LayoutOptions
Public Structure LayoutOptions
Implements IEquatable(Of LayoutOptions)
- Inheritance
-
LayoutOptions
- Attributes
- Implements
Constructors
LayoutOptions(LayoutAlignment, Boolean) |
Creates a new LayoutOptions object with |
Fields
Center |
A LayoutOptions structure that describes an element that is centered and does not expand. |
CenterAndExpand |
Obsolete.
A LayoutOptions structure that describes an element that is centered and expands. |
End |
A LayoutOptions structure that describes an element that appears at the end of its parent and does not expand. |
EndAndExpand |
Obsolete.
A LayoutOptions object that describes an element that appears at the end of its parent and expands. |
Fill |
A LayoutOptions stucture that describes an element that has no padding around itself and does not expand. |
FillAndExpand |
Obsolete.
A LayoutOptions structure that describes an element that has no padding around itself and expands. |
Start |
A LayoutOptions structure that describes an element that appears at the start of its parent and does not expand. |
StartAndExpand |
Obsolete.
A LayoutOptions structure that describes an element that appears at the start of its parent and expands. |
Properties
Alignment |
Gets or sets a value that indicates how an element will be aligned. |
Expands |
Gets or sets a value that indicates whether or not the element that is described by this LayoutOptions structure will occupy the largest space that its parent will give to it. |
Methods
Equals(LayoutOptions) | |
Equals(Object) | |
GetHashCode() |
Operators
Equality(LayoutOptions, LayoutOptions) | |
Inequality(LayoutOptions, LayoutOptions) |
Applies to
.NET MAUI
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기