PropertyChangeSupport.FirePropertyChange Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
FirePropertyChange(String, Int32, Int32) |
Reports an integer bound property update to listeners that have been registered to track updates of all properties or a property with the specified name. |
FirePropertyChange(String, Boolean, Boolean) |
Reports a boolean bound property update to listeners that have been registered to track updates of all properties or a property with the specified name. |
FirePropertyChange(PropertyChangeEvent) |
Fires a property change event to listeners that have been registered to track updates of all properties or a property with the specified name. |
FirePropertyChange(String, Object, Object) |
Reports a bound property update to listeners that have been registered to track updates of all properties or a property with the specified name. |
FirePropertyChange(String, Int32, Int32)
Reports an integer bound property update to listeners that have been registered to track updates of all properties or a property with the specified name.
[Android.Runtime.Register("firePropertyChange", "(Ljava/lang/String;II)V", "GetFirePropertyChange_Ljava_lang_String_IIHandler")]
public virtual void FirePropertyChange (string? propertyName, int oldValue, int newValue);
[<Android.Runtime.Register("firePropertyChange", "(Ljava/lang/String;II)V", "GetFirePropertyChange_Ljava_lang_String_IIHandler")>]
abstract member FirePropertyChange : string * int * int -> unit
override this.FirePropertyChange : string * int * int -> unit
Parameters
- propertyName
- String
the programmatic name of the property that was changed
- oldValue
- Int32
the old value of the property
- newValue
- Int32
the new value of the property
- Attributes
Remarks
Reports an integer bound property update to listeners that have been registered to track updates of all properties or a property with the specified name.
No event is fired if old and new values are equal.
This is merely a convenience wrapper around the more general #firePropertyChange(String, Object, Object)
method.
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
FirePropertyChange(String, Boolean, Boolean)
Reports a boolean bound property update to listeners that have been registered to track updates of all properties or a property with the specified name.
[Android.Runtime.Register("firePropertyChange", "(Ljava/lang/String;ZZ)V", "GetFirePropertyChange_Ljava_lang_String_ZZHandler")]
public virtual void FirePropertyChange (string? propertyName, bool oldValue, bool newValue);
[<Android.Runtime.Register("firePropertyChange", "(Ljava/lang/String;ZZ)V", "GetFirePropertyChange_Ljava_lang_String_ZZHandler")>]
abstract member FirePropertyChange : string * bool * bool -> unit
override this.FirePropertyChange : string * bool * bool -> unit
Parameters
- propertyName
- String
the programmatic name of the property that was changed
- oldValue
- Boolean
the old value of the property
- newValue
- Boolean
the new value of the property
- Attributes
Remarks
Reports a boolean bound property update to listeners that have been registered to track updates of all properties or a property with the specified name.
No event is fired if old and new values are equal.
This is merely a convenience wrapper around the more general #firePropertyChange(String, Object, Object)
method.
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
FirePropertyChange(PropertyChangeEvent)
Fires a property change event to listeners that have been registered to track updates of all properties or a property with the specified name.
[Android.Runtime.Register("firePropertyChange", "(Ljava/beans/PropertyChangeEvent;)V", "GetFirePropertyChange_Ljava_beans_PropertyChangeEvent_Handler")]
public virtual void FirePropertyChange (Java.Beans.PropertyChangeEvent? e);
[<Android.Runtime.Register("firePropertyChange", "(Ljava/beans/PropertyChangeEvent;)V", "GetFirePropertyChange_Ljava_beans_PropertyChangeEvent_Handler")>]
abstract member FirePropertyChange : Java.Beans.PropertyChangeEvent -> unit
override this.FirePropertyChange : Java.Beans.PropertyChangeEvent -> unit
Parameters
- Attributes
Remarks
Fires a property change event to listeners that have been registered to track updates of all properties or a property with the specified name.
No event is fired if the given event's old and new values are equal and non-null.
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
FirePropertyChange(String, Object, Object)
Reports a bound property update to listeners that have been registered to track updates of all properties or a property with the specified name.
[Android.Runtime.Register("firePropertyChange", "(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V", "GetFirePropertyChange_Ljava_lang_String_Ljava_lang_Object_Ljava_lang_Object_Handler")]
public virtual void FirePropertyChange (string? propertyName, Java.Lang.Object? oldValue, Java.Lang.Object? newValue);
[<Android.Runtime.Register("firePropertyChange", "(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V", "GetFirePropertyChange_Ljava_lang_String_Ljava_lang_Object_Ljava_lang_Object_Handler")>]
abstract member FirePropertyChange : string * Java.Lang.Object * Java.Lang.Object -> unit
override this.FirePropertyChange : string * Java.Lang.Object * Java.Lang.Object -> unit
Parameters
- propertyName
- String
the programmatic name of the property that was changed
- oldValue
- Object
the old value of the property
- newValue
- Object
the new value of the property
- Attributes
Remarks
Reports a bound property update to listeners that have been registered to track updates of all properties or a property with the specified name.
No event is fired if old and new values are equal and non-null.
This is merely a convenience wrapper around the more general #firePropertyChange(PropertyChangeEvent)
method.
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.