No vertical scrollbars

4 posts, 0 answers
  1. Lutz
    Lutz avatar
    19 posts
    Member since:
    Jun 2012

    Posted 21 May 2012 Link to this post

    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
  2. Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1127 posts

    Posted 22 May 2012 Link to this post

    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 >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Lutz
    Lutz avatar
    19 posts
    Member since:
    Jun 2012

    Posted 22 May 2012 Link to this post

    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

  5. Lutz
    Lutz avatar
    19 posts
    Member since:
    Jun 2012

    Posted 22 May 2012 Link to this post

    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
Back to Top