<
Window
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
x:Class
=
"RadSplitButtons.View.MainView"
Title
=
"MainView"
Height
=
"600"
Width
=
"800"
>
<
Window.Resources
>
<
BooleanToVisibilityConverter
x:Key
=
"booleanVisibilityConverter"
/>
</
Window.Resources
>
<
DockPanel
>
<
telerik:RadToolBarTray
DockPanel.Dock
=
"Top"
>
<
telerik:RadToolBar
>
<
telerik:RadSplitButton
Command
=
"{Binding NewClientCommand}"
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
Image
Source
=
"/Icons/Client.png"
/>
<
TextBlock
VerticalAlignment
=
"Center"
>New</
TextBlock
>
</
StackPanel
>
<
telerik:RadSplitButton.DropDownContent
>
<
StackPanel
>
<
MenuItem
Header
=
"Client"
Command
=
"{Binding NewClientCommand}"
>
<
MenuItem.Icon
>
<
Image
Source
=
"/Icons/Client.png"
/>
</
MenuItem.Icon
>
</
MenuItem
>
<
MenuItem
Header
=
"Diary Entry"
Command
=
"{Binding NewDiaryEntryCommand}"
>
<
MenuItem.Icon
>
<
Image
Source
=
"/Icons/Diary.png"
/>
</
MenuItem.Icon
>
</
MenuItem
>
<
MenuItem
Header
=
"Task"
Command
=
"{Binding NewTaskCommand}"
>
<
MenuItem.Icon
>
<
Image
Source
=
"/Icons/Task.png"
/>
</
MenuItem.Icon
>
</
MenuItem
>
</
StackPanel
>
</
telerik:RadSplitButton.DropDownContent
>
</
telerik:RadSplitButton
>
</
telerik:RadToolBar
>
</
telerik:RadToolBarTray
>
<
Grid
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"Auto"
/>
<
ColumnDefinition
Width
=
"*"
/>
</
Grid.ColumnDefinitions
>
<
telerik:RadOutlookBar
Name
=
"outlookBar"
Grid.Column
=
"0"
Width
=
"200"
>
<
telerik:RadOutlookBarItem
Name
=
"obiClients"
Header
=
"Clients"
Icon
=
"/Icons/Client.png"
FontWeight
=
"Bold"
/>
<
telerik:RadOutlookBarItem
Name
=
"obiDiary"
Header
=
"Diary"
Icon
=
"/Icons/Diary.png"
FontWeight
=
"Bold"
/>
<
telerik:RadOutlookBarItem
Name
=
"obiTasks"
Header
=
"Tasks"
Icon
=
"/Icons/Task.png"
FontWeight
=
"Bold"
/>
</
telerik:RadOutlookBar
>
<
StackPanel
Grid.Column
=
"1"
>
<
TextBlock
Text
=
"{Binding ElementName=outlookBar, Path=SelectedItem.Header}"
/>
<
TextBlock
Visibility
=
"{Binding ElementName=obiClients, Path=IsSelected, Converter={StaticResource booleanVisibilityConverter}}"
>A list of clients would go here...</
TextBlock
>
<
TextBlock
Visibility
=
"{Binding ElementName=obiDiary, Path=IsSelected, Converter={StaticResource booleanVisibilityConverter}}"
>A view of the diary would go here...</
TextBlock
>
<
TextBlock
Visibility
=
"{Binding ElementName=obiTasks, Path=IsSelected, Converter={StaticResource booleanVisibilityConverter}}"
>A list of tasks would go here...</
TextBlock
>
</
StackPanel
>
</
Grid
>
</
DockPanel
>
</
Window
>
hi my friend
How to add insert to database functionality in RadDataForm
Trying out the property grid and haven't been able to figure out how I can override the default template for common .NET types such as float to use the RadNumericUpDown rather than a TextBox. I looked at setting a custom DataTemplateSelector as described here: http://docs.telerik.com/devtools/wpf/controls/radpropertygrid/features/datatemplateselector.html but this can only work if I know the property name. So my question is the following: how can I change the default float editor template in the property grid? I want to do this for integers, colors, and many more common types. I don't want to have to add custom attributes to all the properties either.
Thanks!
Guy
Hi,
the ItemsLoaded event is called using an IEnumerable of the items that were loaded. If the underlying collection of the VirtualQueryableCollectionView is an IQueryable (e.g. a DB-Queryable) and I want to iterate over the loaded elements, another DB-Query is created. The expected behavior should be, that it is only enumerated once and the list is sent in the ItemsLoaded event.
Best regards,
Philipp
Hello,
I want to display multiple scatter line series dynamically from View Model. Right now, I am displaying succesfully using the below code but my requirement is not to use ScatterLineSeries multiple times and give it from View Model. I tried series provider but it is not giving anything. Is there any example for this ?
I don't know how many scatterlineseries I need and it is dynamic. How can I do this ?
<telerik:RadCartesianChart x:Name="Chart">
<telerik:RadCartesianChart.HorizontalAxis>
<telerik:LinearAxis Maximum="{Binding Max}" Minimum="0" Title="Generation" TickThickness="0">
</telerik:LinearAxis>
</telerik:RadCartesianChart.HorizontalAxis>
<telerik:RadCartesianChart.VerticalAxis>
<telerik:LinearAxis Maximum="{Binding QMax}" Minimum="{Binding QMin}" Title="Q (Max/Min)" TickThickness="0">
</telerik:LinearAxis>
</telerik:RadCartesianChart.VerticalAxis>
<telerik:RadCartesianChart.Annotations>
<telerik:CartesianGridLineAnnotation Axis="{Binding VerticalAxis, ElementName=DCurverChart}" Value="0" ></telerik:CartesianGridLineAnnotation>
</telerik:RadCartesianChart.Annotations>
<telerik:RadCartesianChart.Series>
<telerik:ScatterLineSeries ItemsSource="{Binding MaxDummyDataPoints}" XValueBinding="XValue" YValueBinding="YValue" Stroke="SaddleBrown">
<telerik:ScatterLineSeries.PointTemplate>
<DataTemplate>
<Ellipse Fill="Red" Width="5" Height="5" />
</DataTemplate>
</telerik:ScatterLineSeries.PointTemplate>
</telerik:ScatterLineSeries>
<telerik:ScatterLineSeries ItemsSource="{Binding MinDummyDataPoints}" XValueBinding="XValue" YValueBinding="YValue" Stroke="SaddleBrown" >
<telerik:ScatterLineSeries.PointTemplate>
<DataTemplate>
<Ellipse Fill="Red" Width="5" Height="5" />
</DataTemplate>
</telerik:ScatterLineSeries.PointTemplate>
</telerik:ScatterLineSeries>
<telerik:ScatterLineSeries ItemsSource="{Binding DataPoints}" XValueBinding="XValue" YValueBinding="YValue">
<telerik:ScatterLineSeries.PointTemplate>
<DataTemplate>
<Ellipse Fill="Red" Width="5" Height="5" />
</DataTemplate>
</telerik:ScatterLineSeries.PointTemplate>
</telerik:ScatterLineSeries>
</telerik:RadCartesianChart.Series>
</telerik:RadCartesianChart>
Hi, Everytime a new appointment is added, I would like to send it off to my outlook. I have the code to send it to outlook, but I'm looking to trigger it upon new appointment has been completed.
May I ask how do I set an event to fire after 'OK' is clicked. Or what is the best method to save the new appointments.
Hello,
Is it possible to dynamically change the FontSize of Office2013 Theme (as it's written in the documentation) ? I'm able to dynamically change the fontSize with VisualStudio2013 Theme, but not with Office2013...
Thank you
Leon