Ribbon FontSizeComboBox, entering a value goes wrong

Ribbon for WPF Forum

Posted 11 years ago by Arthur Damen
Version: 11.2.0545
Platform: .NET 4.0
Environment: Windows 7 (32-bit)
I am using a Fontsizecombobox to let the user select a fontsize.
But when the user enters a value manually, it is skipped ????

Private Sub FontFontSizeChanged(ByVal sender As Object, ByVal e As System.Windows.Controls.SelectionChangedEventArgs)
On Error Resume Next
Dim FontS as double= Format_FontFontSize.SelectedValue
End Sub

<ribbon:FontSizeComboBox Name="Format_FontFontSize" SelectionChanged="FontFontSizeChanged" Width="40" />

Comments (1)

Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Arthur,

I don't believe SelectionChanged fires on text changes, only on dropdown clicks. You'd probably want to instead wire up a command and handle the command execute as that will fire whenever the value changes.

Actipro Software Support

The latest build of this product (v22.1.3) was released 18 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.