or
<
DataTemplate
x:Key
=
"outlookBaItemDropDownContentTemplate"
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
Image
Source
=
"{Binding SmallIcon}"
Width
=
"20"
/>
<
Label
Content
=
"{Binding Header}"
/>
</
StackPanel
>
</
DataTemplate
>
<
Window
x:Class
=
"RadBusyIndicatorDemo.MainWindow"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
Title
=
"MainWindow"
Height
=
"350"
Width
=
"525"
WindowStartupLocation
=
"CenterScreen"
>
<
StackPanel
>
<
TextBlock
x:Name
=
"textBlock"
/>
<
telerik:RadBusyIndicator
IsBusy
=
"True"
>
<
StackPanel
>
<
Button
Content
=
"Button1"
Click
=
"Button_Click"
/>
<
telerik:RadGridView
ItemsSource
=
"{Binding Items}"
Height
=
"300"
/>
</
StackPanel
>
</
telerik:RadBusyIndicator
>
</
StackPanel
>
</
Window
>
namespace RadBusyIndicatorDemo
{
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
this.DataContext = new MainViewModel();
}
private void Button_Click(object sender, RoutedEventArgs e)
{
this.textBlock.Text = "clicked!"; // shouldn't happen
}
}
}
Level 1 | Level 2 | Level 3 | Level 4 | Level 5 | Level 6 | Level 7 | ||||||||
(-) | Org | |||||||||||||
Dept 1 | ||||||||||||||
Cell 1 | ||||||||||||||
Mgr 1 | ||||||||||||||
Lead 1 | ||||||||||||||
Resp 1 | ||||||||||||||
Work1 | ||||||||||||||
Work2 | ||||||||||||||
Work3 | ||||||||||||||
Resp 2 | ||||||||||||||
Work4 | ||||||||||||||
Work5 | ||||||||||||||
Work6 | ||||||||||||||
(+) | Dept 2 | |||||||||||||
(+) | Dept 3 | |||||||||||||
(-) | Dept4 | |||||||||||||
Cell 4 | ||||||||||||||
Mgr 4 | ||||||||||||||
Lead 4 | ||||||||||||||
Resp 4 | ||||||||||||||
Work1 | ||||||||||||||
Work2 | ||||||||||||||
Work3 | ||||||||||||||
Resp 5 | ||||||||||||||
Work4 | ||||||||||||||
Work5 | ||||||||||||||
Work6 | ||||||||||||||
Dept 2 & Dept 3 are not in expanded state. While I filter I want the filter should be applied to those records of Dept 1 (Resp1, Resp2) & Dept 4 (Resp4 & Resp5)only | ||||||||||||||
User can right click on Level 7 data only |
<UserControl.Resources>
<telerik:VirtualQueryableCollectionView x:Key="VirtualizedTransactions"
LoadSize="10"
ItemsSource="{Binding AllTransactions}"
/>
</UserControl.Resources>
<
telerikChart:RadChart
VerticalAlignment
=
"Top"
UseDefaultLayout
=
"False"
MaxHeight
=
"180"
ItemsSource
=
"{Binding CurrentShiftScrap, Converter={StaticResource emptyConverter}}"
>
<
Grid
>
<
telerikCharting:ChartArea
x:Name
=
"mainScrapArea"
VerticalAlignment
=
"Stretch"
HorizontalAlignment
=
"Stretch"
PaletteBrushesRepeat
=
"False"
EnableAnimations
=
"False"
>
<
telerikCharting:ChartArea.AxisX
>
<
telerikCharting:AxisX
MajorTicksVisibility
=
"Collapsed"
MinorTicksVisibility
=
"Collapsed"
>
<
telerikCharting:AxisX.AxisStyles
>
<
telerikCharting:AxisStyles
ItemLabelStyle
=
"{StaticResource RightJustifyChartLabelStyle}"
/>
</
telerikCharting:AxisX.AxisStyles
>
</
telerikCharting:AxisX
>
</
telerikCharting:ChartArea.AxisX
>
<
telerikCharting:ChartArea.AxisY
>
<
telerikCharting:AxisY
StripLinesVisibility
=
"Collapsed"
MajorTicksVisibility
=
"Collapsed"
MinorTicksVisibility
=
"Collapsed"
AxisLabelsVisibility
=
"Collapsed"
/>
</
telerikCharting:ChartArea.AxisY
>
<
telerikCharting:ChartArea.PaletteBrushes
>
<
SolidColorBrush
Color
=
"#FF1199CC"
/>
</
telerikCharting:ChartArea.PaletteBrushes
>
</
telerikCharting:ChartArea
>
</
Grid
>
<
telerikChart:RadChart.SeriesMappings
>
<
telerikCharting:SeriesMapping
ChartAreaName
=
"mainScrapArea"
>
<
telerikCharting:SeriesMapping.SeriesDefinition
>
<
telerikCharting:HorizontalBarSeriesDefinition
ShowItemToolTips
=
"True"
ShowItemLabels
=
"False"
LegendDisplayMode
=
"DataPointLabel"
ItemToolTipFormat
=
"#DATAITEM.Name: #DATAITEM.Value' Scrap"
/>
</
telerikCharting:SeriesMapping.SeriesDefinition
>
<
telerikCharting:SeriesMapping.ItemMappings
>
<
telerikCharting:ItemMapping
DataPointMember
=
"XCategory"
FieldName
=
"Name"
/>
<
telerikCharting:ItemMapping
DataPointMember
=
"YValue"
FieldName
=
"Value"
/>
</
telerikCharting:SeriesMapping.ItemMappings
>
</
telerikCharting:SeriesMapping
>
</
telerikChart:RadChart.SeriesMappings
>
</
telerikChart:RadChart
>