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
560
MinimumWidth XamGrid bug
posted

Hi,

In november 2009 I asked a question about the MinimumWidth property on a column (http://forums.infragistics.com/forums/t/33479.aspx). When setting a columns width to star, the MinimumWidth  property is ignored, so the star column can disappear (become 0 pixels), even though the MinimumWidth is set.

I see the problem has been somewhat solved, but here's a scenario where the problem still exists:

<UserControl x:Class="SilverlightApplication1.MainPage"

    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"

    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"

    mc:Ignorable="d"

    xmlns:grid="clr-namespace:Infragistics.Controls.Grids;assembly=InfragisticsSL4.Controls.Grids.XamGrid.v10.2"

    d:DesignHeight="300" d:DesignWidth="400">

 

    <Grid x:Name="LayoutRoot" Background="White">

        <grid:XamGrid x:Name="grid"

                      Width="200">

            <grid:XamGrid.Columns>

                <grid:TextColumn Key="a"

                                 Width="300"/>

                <grid:TextColumn Key="b"

                                 MinimumWidth="200"

                                 Width="*"/>

            </grid:XamGrid.Columns>

        </grid:XamGrid>

    </Grid>

</UserControl>

Arjen

Parents Reply Children
No Data