Język

Control.StatelessBuilder.SetZone Method

Definition

Overloads

Name Description
SetZone(ICharSequence)

Optional group name to help define the Control's location within a structure, visible to the user.

SetZone(String)

Sets the location group within a structure.

SetZone(ICharSequence)

Optional group name to help define the Control's location within a structure, visible to the user.

[Android.Runtime.Register("setZone", "(Ljava/lang/CharSequence;)Landroid/service/controls/Control$StatelessBuilder;", "", ApiSince=30)]
public Android.Service.Controls.Control.StatelessBuilder SetZone(Java.Lang.ICharSequence? zone);
[<Android.Runtime.Register("setZone", "(Ljava/lang/CharSequence;)Landroid/service/controls/Control$StatelessBuilder;", "", ApiSince=30)>]
member this.SetZone : Java.Lang.ICharSequence -> Android.Service.Controls.Control.StatelessBuilder

Parameters

zone
ICharSequence

name of the zone containing the control. This value may be null.

Returns

this This value cannot be null.

Attributes

Remarks

Optional group name to help define the Control's location within a structure, visible to the user. A structure contains zones which contains controls.

Android reference for android.service.controls.Control.StatelessBuilder.setZone.

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

SetZone(String)

Sets the location group within a structure.

public Android.Service.Controls.Control.StatelessBuilder SetZone(string? zone);
member this.SetZone : string -> Android.Service.Controls.Control.StatelessBuilder

Parameters

zone
String

The name of the zone that contains the control, or null to leave it unset.

Returns

This builder.

Remarks

A zone groups controls within a structure. Its name is visible to the user. The zone is optional.

See the Android implementation.

Applies to