Condividi tramite


UISegmentedControl.SetWidth(nfloat, nint) Metodo

Definizione

Imposta la larghezza per un determinato segmento.

[Foundation.Export("setWidth:forSegmentAtIndex:")]
public virtual void SetWidth (nfloat width, nint segment);
abstract member SetWidth : nfloat * nint -> unit
override this.SetWidth : nfloat * nint -> unit

Parametri

width
nfloat

Larghezza del segmento da impostare.

segment
System.System.IntPtr System.nativeint

Indice segmento..

Attributi

Commenti

Il valore predefinito 0.0 causerà la dimensione automatica del segmento.

Si applica a