Condividi tramite


LayoutOptions Struct

Definizione

Struct i cui membri statici definiscono varie opzioni di allineamento ed espansione.

public value class LayoutOptions
[System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Controls.LayoutOptionsConverter))]
public struct LayoutOptions
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Controls.LayoutOptionsConverter))>]
type LayoutOptions = struct
Public Structure LayoutOptions
Ereditarietà
LayoutOptions
Attributi

Costruttori

LayoutOptions(LayoutAlignment, Boolean)

Crea un nuovo oggetto LayoutOptions con alignment e expands.

Campi

Center

Struttura LayoutOptions che descrive un elemento che è centrato e non si espande.

CenterAndExpand
Obsoleti.

Struttura LayoutOptions che descrive un elemento che è centrato e si espande.

End

Struttura LayoutOptions che descrive un elemento che appare alla fine del relativo elemento padre e non si espande.

EndAndExpand
Obsoleti.

Oggetto LayoutOptions che descrive un elemento che appare alla fine del relativo elemento padre e si espande.

Fill

Struttura LayoutOptions che descrive un elemento che intorno non ha una spaziatura interna e non si espande.

FillAndExpand
Obsoleti.

Struttura LayoutOptions che descrive un elemento che intorno non ha una spaziatura interna e si espande.

Start

Struttura LayoutOptions che descrive un elemento che appare all'inizio del relativo elemento padre e non si espande.

StartAndExpand
Obsoleti.

Struttura LayoutOptions che descrive un elemento che appare all'inizio del relativo elemento padre e si espande.

Proprietà

Alignment

Ottiene o imposta un valore che indica la modalità di allineamento di un elemento.

Expands

Ottiene o imposta un valore che indica se l'elemento descritto da questa struttura LayoutOptions occuperà o meno lo spazio più grande che il relativo elemento padre è in grado di offrire.

Si applica a