RatingControl.ValueChanged Event
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.
Occurs when the Value property has changed.
Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.RatingControl.ValueChanged (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).
// Register
event_token ValueChanged(TypedEventHandler<RatingControl, IInspectable const&> const& handler) const;
// Revoke with event_token
void ValueChanged(event_token const* cookie) const;
// Revoke with event_revoker
RatingControl::ValueChanged_revoker ValueChanged(auto_revoke_t, TypedEventHandler<RatingControl, IInspectable const&> const& handler) const;
public event TypedEventHandler<RatingControl,object> ValueChanged;
function onValueChanged(eventArgs) { /* Your code */ }
ratingControl.addEventListener("valuechanged", onValueChanged);
ratingControl.removeEventListener("valuechanged", onValueChanged);
- or -
ratingControl.onvaluechanged = onValueChanged;
Public Custom Event ValueChanged As TypedEventHandler(Of RatingControl, Object)
<RatingControl ValueChanged="eventhandler"/>
Event Type
TypedEventHandler<RatingControl,IInspectable>