Sdílet prostřednictvím


Preference.IconSpaceReserved Property

Definition

Gets whether the space this preference icon view is reserved. -or- Sets whether to reserve the space of this Preference icon view when no icon is provided.

public virtual bool IconSpaceReserved { [Android.Runtime.Register("isIconSpaceReserved", "()Z", "GetIsIconSpaceReservedHandler", ApiSince=26)] get; [Android.Runtime.Register("setIconSpaceReserved", "(Z)V", "GetSetIconSpaceReserved_ZHandler", ApiSince=26)] set; }
[<get: Android.Runtime.Register("isIconSpaceReserved", "()Z", "GetIsIconSpaceReservedHandler", ApiSince=26)>]
[<set: Android.Runtime.Register("setIconSpaceReserved", "(Z)V", "GetSetIconSpaceReserved_ZHandler", ApiSince=26)>]
member this.IconSpaceReserved : bool with get, set

Property Value

true if the space of this preference icon view is reserved

Attributes

Remarks

Property getter documentation:

Gets whether the space this preference icon view is reserved.

Java documentation for android.preference.Preference.isIconSpaceReserved().

Property setter documentation:

Sets whether to reserve the space of this Preference icon view when no icon is provided.

Java documentation for android.preference.Preference.setIconSpaceReserved(boolean).

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