Occurs when the labels in the scale are being generated in order to associate custom values with them.
Namespace: MindFusion.Gauges.Wpf
Assembly: MindFusion.Gauges.Wpf
C# Copy Code |
---|
public event EventHandler<QueryLabelValueEventArgs> QueryLabelValue |
Visual Basic Copy Code |
---|
Public Event QueryLabelValue As EventHandler(Of QueryLabelValueEventArgs) |
QueryLabelValue event handlers receive an argument of type QueryLabelValueEventArgs.
This event is raised in order to allow clients to customize the texts of tick labels beyond simple formatting.
The following example illustrates a QueryLabelValue event handler which customizes the labels of a scale to display "Empty" as min value and "Full" as max value:
C# Copy Code |
---|
private void OnQueryLabelValue(object sender, QueryLabelValueEventArgs e) |
Visual Basic Copy Code |
---|
Private Sub OnQueryLabelValue(ByVal sender As System.Object, ByVal e As QueryLabelValueEventArgs) |