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#
![]() |
---|
public event EventHandler<QueryLabelValueEventArgs> QueryLabelValue |
Visual Basic
![]() |
---|
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#
![]() |
---|
private void OnQueryLabelValue(object sender, QueryLabelValueEventArgs e) |
Visual Basic
![]() |
---|
Private Sub OnQueryLabelValue(ByVal sender As System.Object, ByVal e As QueryLabelValueEventArgs) |