Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
520
XamNumericEditor and Wrap Panel
posted

Hi,

We have an app that has a wrap panel containing several xamnumericeditor inside it. Everything works fine under 10.2. Recently I tried upgrading to 10.3 for the numerous XamDataGrid performance enhancements and found out some strange behaviors, the numeric editors would take the whole width of the wrap panel (i do not set any width on the editor).

To reproduce just use this xaml:

<Window x:Class="TestWrapPanelNumeric.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:Editors="http://infragistics.com/Editors" Title="MainWindow" Height="350" Width="525">
  <WrapPanel>
    <TextBlock>Number:</TextBlock>
    <Editors:XamNumericEditor></Editors:XamNumericEditor>
  </WrapPanel>
</Window>

Then reference 10.2 and 10.3 to compare. The 10.2 will have the textblock right next to the numeric editor while for 10.3. the textbox and numeric editor are on different line.

Parents Reply Children