This question is locked. New answers and comments are not allowed.
hi
after upgrading to the latest assemblies, the headercontentcontrol header is now showing at the bottom of the control without any styling.
how to fix this?
Kevin
after upgrading to the latest assemblies, the headercontentcontrol header is now showing at the bottom of the control without any styling.
how to fix this?
<
telerik:HeaderedContentControl
Header
=
"Create Event"
Style
=
"{StaticResource DefaultHeaderedContentControlStyle}"
HorizontalContentAlignment
=
"Stretch"
VerticalContentAlignment
=
"Stretch"
Visibility
=
"Collapsed"
telerik:StyleManager.Theme
=
"Windows7"
>
<
telerik:RadTreeView
x:Name
=
"_eventTempaltes"
MinWidth
=
"350"
IsDragTooltipEnabled
=
"False"
Margin
=
"5 0 0 5"
HorizontalAlignment
=
"Left"
IsExpandOnSingleClickEnabled
=
"True"
VerticalAlignment
=
"Top"
SelectionMode
=
"Single"
IsDragDropEnabled
=
"False"
DataContext
=
"{Binding EventCatelogViewModel, Source={StaticResource Locator}}"
ItemsSource
=
"{Binding EventCatelogViewModel.EventCatelogs, Source={StaticResource Locator}}"
ItemTemplate
=
"{StaticResource EventCatelogDataTemplate}"
IsTextSearchEnabled
=
"True"
>
</
telerik:RadTreeView
>
</
telerik:HeaderedContentControl
>
<
Style
x:Key
=
"DefaultHeaderedContentControlStyle"
TargetType
=
"telerik:HeaderedContentControl"
>
<
Setter
Property
=
"BorderThickness"
Value
=
"1 0 1 1"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"{StaticResource Pad_BorderBrush}"
/>
<
Setter
Property
=
"Background"
Value
=
"{StaticResource Pad_Background}"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"telerik:HeaderedContentControl"
>
<
Grid
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"*"
/>
</
Grid.RowDefinitions
>
<
Border
Grid.Row
=
"0"
CornerRadius
=
"4 4 0 0"
Padding
=
"10 7"
Background
=
"{StaticResource Pad_Header_Background}"
>
<
ContentPresenter
Content
=
"{TemplateBinding Header}"
ContentTemplate
=
"{TemplateBinding HeaderTemplate}"
/>
</
Border
>
<
Border
Grid.Row
=
"1"
CornerRadius
=
"0 0 4 4"
BorderThickness
=
"{TemplateBinding BorderThickness}"
BorderBrush
=
"{TemplateBinding BorderBrush}"
Background
=
"{TemplateBinding Background}"
>
<
ContentPresenter
Margin
=
"{TemplateBinding Padding}"
HorizontalAlignment
=
"{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment
=
"{TemplateBinding VerticalContentAlignment}"
/>
</
Border
>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
Kevin