Compartilhar via


RatingControl.ValueChanged Evento

Definição

Ocorre quando a propriedade Value foi alterada.

API equivalente do WinUI 2 para UWP: Microsoft.UI.Xaml.Controls.RatingControl.ValueChanged (para WinUI no SDK do Aplicativo Windows, consulte os namespaces SDK do Aplicativo Windows).

// 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"/>

Tipo de evento

Aplica-se a