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
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
0
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
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: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: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
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