or
<
Style
TargetType
=
"ScrollViewer"
>
<
Setter
Property
=
"t:StyleManager.Theme"
Value
=
"{StaticResource Theme}"
/>
</
Style
>
<
Grid
>
<
avalonEdit:TextEditor
Margin
=
"5"
Grid.Row
=
"2"
Width
=
"Auto"
FontFamily
=
"Segoe UI"
FontSize
=
"10pt"
SyntaxHighlighting
=
"C#"
VerticalScrollBarVisibility
=
"Auto"
HorizontalScrollBarVisibility
=
"Auto"
ShowLineNumbers
=
"True"
>
</
avalonEdit:TextEditor
>
</
Grid
>
<
telerik:RadVerticalLinearGauge
Grid.Row
=
"1"
Margin
=
"0,30"
telerik:StyleManager.Theme
=
"Windows8Touch"
>
<
telerik:VerticalLinearScale
Min
=
"{Binding Path=Min}"
Max
=
"{Binding Path=Max}"
RelativeHeight
=
"1"
RelativeY
=
"0"
RelativeWidth
=
"1"
RelativeX
=
"0.5"
LabelFormat
=
"{}{0:F0} µV"
StartWidth
=
"0.35"
EndWidth
=
"0.35"
>
<
telerik:VerticalLinearScale.Indicators
>
<
telerik:BarIndicator
UseRangeColor
=
"False"
StartWidth
=
"0.3"
EndWidth
=
"0.3"
Background
=
"{Binding Path=FloaterBrush}"
Visibility
=
"{Binding Path=IsFloaterVisible, Converter={StaticResource BooleanToVisibilityConverter}}"
Value
=
"{Binding Path=FloaterValue}"
RenderTransformOrigin
=
"0.5,0.5"
/>
<
telerik:BarIndicator
UseRangeColor
=
"False"
StartWidth
=
"0.3"
EndWidth
=
"0.3"
Background
=
"{Binding Path=DirectBrush}"
Value
=
"{Binding Path=DirectValue}"
/>
</
telerik:VerticalLinearScale.Indicators
>
</
telerik:VerticalLinearScale
>
</
telerik:RadVerticalLinearGauge
>
<
ListBox
Width
=
"700"
Height
=
"700"
ItemsSource
=
"{Binding YourSource}"
>
<
ListBox.ItemsPanel
>
<
ItemsPanelTemplate
>
<
UniformGrid
Width
=
"{Binding ActualWidth, RelativeSource={RelativeSource AncestorType={x:Type ScrollContentPresenter}, Mode=FindAncestor}}"
Columns
=
"3"
/>
</
ItemsPanelTemplate
>
</
ListBox.ItemsPanel
>
</
ListBox
>
<
telerik:RadListBox
Width
=
"700"
Height
=
"700"
ItemsSource
=
"{Binding YourSource}"
>
<
telerik:RadListBox.ItemsPanel
>
<
ItemsPanelTemplate
>
<
UniformGrid
Width
=
"{Binding ActualWidth, RelativeSource={RelativeSource AncestorType={x:Type ScrollContentPresenter}, Mode=FindAncestor}}"
Columns
=
"3"
/>
</
ItemsPanelTemplate
>
</
telerik:RadListBox.ItemsPanel
>
</
telerik:RadListBox
>