Język

Preference.PreferenceChangeEventArgs.Handled Property

Definition

Gets or sets whether to accept the proposed preference value.

public bool Handled { get; set; }
member this.Handled : bool with get, set

Property Value

true to allow the new value to update the preference state and be persisted; false to reject the change. The generated event callback initializes this property to true before it invokes the handlers.

Remarks

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