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
No Data
Reply
  • 2197
    Verified Answer
    posted

    Hello.

    I tested the sample I created from the Xaml that you provided and it works in the service release of 2010 volume 3. Try downloading the service release and then upgrade the project. You should see the editor and the label appear next to each other like they do in 10.2.

    Please let me know if you have any further questions.

    Sincerely,

    Charlie
    Senior Developer Support Engineer
    MCTS

Children