or
<
Window
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
x:Class
=
"MainWindow"
xmlns:me
=
"clr-namespace:WpfApplication1"
Title
=
"MainWindow"
Height
=
"350"
Width
=
"525"
>
<
Window.Resources
>
<
Style
x:Key
=
"ClosableStyle"
TargetType
=
"telerik:RadTabItem"
>
<
Setter
Property
=
"HeaderTemplate"
>
<
Setter.Value
>
<
DataTemplate
>
<
Grid
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"*"
/>
<
ColumnDefinition
Width
=
"Auto"
/>
</
Grid.ColumnDefinitions
>
<
TextBlock
Text
=
"{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Content, Mode=TwoWay}"
Grid.Column
=
"0"
></
TextBlock
>
<
telerik:RadDropDownButton
Width
=
"30"
Height
=
"30"
x:Name
=
"MachinesKnopka3"
Margin
=
"5,0,0,0"
DropDownButtonPosition
=
"Right"
DropDownIndicatorVisibility
=
"Visible"
DropDownPlacement
=
"Right"
DropDownHeight
=
"600"
DropDownWidth
=
"800"
Grid.Column
=
"1"
Padding
=
"0"
ClickMode
=
"Release"
IsOpen
=
"False"
>
<
telerik:RadDropDownButton.LayoutTransform
>
<
RotateTransform
Angle
=
"-90"
/>
</
telerik:RadDropDownButton.LayoutTransform
>
<
telerik:RadDropDownButton.DropDownContent
>
<
me:UserControl1
></
me:UserControl1
>
</
telerik:RadDropDownButton.DropDownContent
>
</
telerik:RadDropDownButton
>
</
Grid
>
</
DataTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
Window.Resources
>
<
Grid
>
<
telerik:RadTabControl
ItemContainerStyle
=
"{StaticResource ClosableStyle}"
TabOrientation
=
"Horizontal"
TabStripPlacement
=
"Left"
FlowDirection
=
"LeftToRight"
Align
=
"Right"
Grid.Row
=
"1"
DropDownDisplayMode
=
"Visible"
telerik:StyleManager.Theme
=
"Vista"
AllowDragReorder
=
"True"
>
<
telerik:RadTabControl.Background
>
<
LinearGradientBrush
EndPoint
=
"0.504,1.5"
StartPoint
=
"0.504,0.03"
>
<
GradientStop
Color
=
"#FFB7B7B7"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#FFFFFFFF"
Offset
=
"0.567"
/>
</
LinearGradientBrush
>
</
telerik:RadTabControl.Background
>
<
telerik:RadTabItem
Header
=
"Tab1"
/>
<
telerik:RadTabItem
Header
=
"Tab2"
/>
</
telerik:RadTabControl
>
</
Grid
>
</
Window
>
<
UserControl
x:Class
=
"UserControl1"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
mc:Ignorable
=
"d"
d:DesignHeight
=
"300"
d:DesignWidth
=
"300"
>
<
Grid
>
<
Grid
VerticalAlignment
=
"Stretch"
Grid.Row
=
"1"
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"Auto"
/>
<
ColumnDefinition
Width
=
"*"
/>
</
Grid.ColumnDefinitions
>
<
telerik:RadOutlookBar
HorizontalAlignment
=
"Stretch"
VerticalAlignment
=
"Stretch"
Grid.Column
=
"0"
>
<
telerik:RadOutlookBarItem
Header
=
"Online Games"
>
<
TextBlock
>BattleField IV</
TextBlock
>
</
telerik:RadOutlookBarItem
>
<
telerik:RadOutlookBarItem
Header
=
"Social Network"
>
<
TextBlock
>FaceBook</
TextBlock
>
</
telerik:RadOutlookBarItem
>
</
telerik:RadOutlookBar
>
<
TextBox
Grid.Column
=
"1"
>Text1</
TextBox
>
</
Grid
>
</
Grid
>
</
UserControl
>
<
Style
TargetType
=
"extensions:SettingsPaneView"
>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"extensions:SettingsPaneView"
>
<
Border
Background
=
"{TemplateBinding Background}"
BorderThickness
=
"1"
BorderBrush
=
"{StaticResource SettingsPaneBorderBrush}"
>
<
GroupBox
Header
=
"Group Properties"
>
<
Grid
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"26"
/>
<
RowDefinition
Height
=
"26"
/>
</
Grid.RowDefinitions
>
<
Grid
Grid.Row
=
"0"
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"125"
/>
<
ColumnDefinition
Width
=
"*"
/>
</
Grid.ColumnDefinitions
>
<
Label
Grid.Column
=
"0"
Content
=
"ID:"
HorizontalAlignment
=
"Right"
FontSize
=
"12"
Foreground
=
"Black"
/>
<
TextBox
Grid.Column
=
"1"
Margin
=
"10,0,10,0"
extensions:SettingsPaneView.EditorPropertyName
=
"DataContext.ID"
extensions:SettingsPaneView.EditorItemType
=
"Shapes, Custom"
extensions:SettingsPaneView.EditorValue
=
"{Binding Path=Text, Mode=TwoWay, RelativeSource={RelativeSource Self}}"
/>
</
Grid
>
<
Grid
Grid.Row
=
"1"
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"125"
/>
<
ColumnDefinition
Width
=
"*"
/>
</
Grid.ColumnDefinitions
>
<
Label
Grid.Column
=
"0"
Content
=
"Name:"
HorizontalAlignment
=
"Right"
FontSize
=
"12"
Foreground
=
"Black"
/>
<
TextBox
Grid.Column
=
"1"
Margin
=
"10,0,10,0"
extensions:SettingsPaneView.EditorPropertyName
=
"DataContext.Description"
extensions:SettingsPaneView.EditorItemType
=
"Shapes, Custom"
extensions:SettingsPaneView.EditorValue
=
"{Binding Path=Text, Mode=TwoWay, RelativeSource={RelativeSource Self}}"
/>
</
Grid
>
</
Grid
>
</
GroupBox
>
</
Border
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
<
telerik:RadTileList
x:Name
=
"AppLaunchPad"
GroupTemplate
=
"{StaticResource GroupTemplate}"
ScrollViewer.HorizontalScrollBarVisibility
=
"Visible"
cal:Message.Attach
=
"[Event SelectionChanged] = [Action OpenDoorway($eventArgs)]"
>
<
telerik:Tile
x:Name
=
"PendingAuthTile"
Background
=
"BlueViolet"
TileType
=
"Single"
Group
=
"Authorizations"
>
<
Grid
>
<
TextBlock
Text
=
"Pending"
Style
=
"{StaticResource TileLabelStyle}"
/>
<
TextBlock
x:Name
=
"PendingAuthCount"
Text
=
"0"
Style
=
"{StaticResource LiveTileLabelStyle}"
/>
</
Grid
>
</
telerik:Tile
>
<
telerik:Tile
x:Name
=
"CreateAuthTile"
Group
=
"Authorizations"
Background
=
"Green"
TileType
=
"Single"
cal:Message.Attach
=
"[Event MouseDoubleClick] = [Action CreateAuth] "
>
<
TextBlock
Text
=
"Create"
Style
=
"{StaticResource TileLabelStyle}"
/>
</
telerik:Tile
>
<
telerik:Tile
x:Name
=
"ModifyAuthTile"
Group
=
"Authorizations"
Background
=
"CadetBlue"
TileType
=
"Single"
>
<
TextBlock
Text
=
"Modify"
Style
=
"{StaticResource TileLabelStyle}"
/>
</
telerik:Tile
>
<
telerik:Tile
x:Name
=
"DeleteAuthTile"
Group
=
"Authorizations"
Background
=
"Sienna"
TileType
=
"Single"
>
<
TextBlock
Text
=
"Delete"
Style
=
"{StaticResource TileLabelStyle}"
/>
</
telerik:Tile
>
<
telerik:Tile
x:Name
=
"AdminFrequencyTile"
Group
=
"Admin"
Background
=
"SeaGreen"
TileType
=
"Single"
>
<
TextBlock
Text
=
"Frequencies"
Style
=
"{StaticResource TileLabelStyle}"
/>
</
telerik:Tile
>
<
telerik:Tile
x:Name
=
"AdminStatusTile"
Group
=
"Admin"
Background
=
"Peru"
TileType
=
"Single"
>
<
TextBlock
Text
=
"Status"
Style
=
"{StaticResource TileLabelStyle}"
/>
</
telerik:Tile
>
</
telerik:RadTileList
>