This is a migrated thread and some comments may be shown as answers.

No vertical scrollbars

3 Answers 155 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
Lutz
Top achievements
Rank 1
Lutz asked on 22 May 2012, 01:13 AM
Hi there,

I am using the RadPropertyGrid and the AutoGenerating setting for properties. The control never displays a vertical scrollbar, even if the property list extends off the bottom. I couldn't see any properties that control this.

Am I missing something?

- Lutz

3 Answers, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 22 May 2012, 06:16 AM
Hi Lutz,

We have never encountered such an issue with RadPropertyGrid. Would you please share with us whether there are any changes in the template that you are using? A simple demo project that illustrates this issue would be highly appreciated, in case it is possible.

Greetings,
Ivan Ivanov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Lutz
Top achievements
Rank 1
answered on 22 May 2012, 04:59 PM
Here is the XAML that defines a UserControls that embeds the RadPropertyGrid.

<
UserControl x:Class="Blah.Controls.ParameterPane" 
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
             xmlns:System="clr-namespace:System;assembly=mscorlib"
             xmlns:Controls="clr-namespace:Blah.Controls"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <telerik:RadPropertyGrid Name="propertyGrid" LabelColumnWidth="120" DescriptionPanelVisibility="Visible" AutoGeneratingPropertyDefinition="PropertyGridAutoGeneratingPropertyDefinition" BorderThickness="0" />
    </Grid>
</UserControl>

This control then gets embedded in another UserControl like this:

<UserControl x:Class="ToolsFramework.FrameworkComponents.FrameworkParameterPane"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
             xmlns:Controls="clr-namespace:Blah.Controls;assembly=Blah.Controls"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <StackPanel Orientation="Vertical">
        <StackPanel Orientation="Horizontal">
            <Label  Name="lblTypes" Margin="4 2 6 2 ">Type:</Label>
            <telerik:RadComboBox Name="availableTypes" Height="24" ItemsSource="{Binding Path=AvailableTypes}" SelectedIndex="0"/>
        </StackPanel>
        <Controls:ParameterPane Name="parameterPane"/>
    </StackPanel>
  
</UserControl>

Does that help? Thanks.

- Lutz

0
Lutz
Top achievements
Rank 1
answered on 22 May 2012, 07:16 PM
Ok, this is a newbie error. Sorry about that.

Apparently StackPanel is not the right choice to stack the combo with the UserControl. Changing it to Grid resolved the issue and the scroll bar appears just fine now...

- Lutz
Tags
PropertyGrid
Asked by
Lutz
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Lutz
Top achievements
Rank 1
Share this question
or