or
<
telerik:RadScheduleView
x:Name
=
"_scheduleView"
Margin
=
"2,0,0,0"
RenderTransformOrigin
=
"0.5,0.5"
SelectedAppointment
=
"{Binding SelectedStreamingEpisodeAppointment, Mode=TwoWay}"
AppointmentsSource
=
"{Binding StreamingEpisodeAppointments}"
telerik:StyleManager.Theme
=
"Windows7"
SnapAppointments
=
"True"
MinAppointmentWidth
=
"60"
ToolTipTemplate
=
"{StaticResource AppointmentToolTipTemplate}"
>
<
telerik:RadScheduleView.RenderTransform
>
<
TransformGroup
>
<
ScaleTransform
/>
<
SkewTransform
/>
<
RotateTransform
/>
<
TranslateTransform
/>
</
TransformGroup
>
</
telerik:RadScheduleView.RenderTransform
>
<
telerik:RadScheduleView.ViewDefinitions
>
<
telerik:TimelineViewDefinition
MinorTickLength
=
"1day"
MajorTickLength
=
"1day"
TimerulerGroupStringFormat
=
"{}{0:MM/dd/yyyy}"
MinTimeRulerExtent
=
"1"
MaxTimeRulerExtent
=
"Infinity"
StretchAppointments
=
"True"
StretchGroupHeaders
=
"True"
/>
</
telerik:RadScheduleView.ViewDefinitions
>
<
telerik:RadScheduleView.GroupDescriptionsSource
>
<
telerik:GroupDescriptionCollection
>
<
telerik:DateGroupDescription
/>
</
telerik:GroupDescriptionCollection
>
</
telerik:RadScheduleView.GroupDescriptionsSource
>
</
telerik:RadScheduleView
>
<
DataTemplate
x:Key
=
"AppointmentToolTipTemplate"
>
<
Grid
MaxWidth
=
"300"
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"43"
/>
<
ColumnDefinition
/>
</
Grid.ColumnDefinitions
>
<
Grid.RowDefinitions
>
<
RowDefinition
/>
<
RowDefinition
/>
<
RowDefinition
/>
</
Grid.RowDefinitions
>
<
TextBlock
Text
=
"{Binding Subject}"
Grid.ColumnSpan
=
"2"
TextWrapping
=
"Wrap"
Margin
=
"5 8 4 3"
FontWeight
=
"Bold"
/>
<
Image
Grid.Row
=
"1"
VerticalAlignment
=
"Top"
HorizontalAlignment
=
"Left"
Margin
=
"5 5 0 0"
Source
=
"/Fox.Fbc.Vps.PL.Resources;component/Images/AcrossTime.png"
Width
=
"28"
Height
=
"29"
/>
<
StackPanel
Orientation
=
"Vertical"
Grid.Column
=
"1"
Grid.Row
=
"1"
Margin
=
"0 5 0 0"
>
<
StackPanel
Orientation
=
"Horizontal"
Margin
=
"0 0 0 0"
>
<
TextBlock
Text
=
"{Binding Start, StringFormat='hh:mm tt'}"
TextWrapping
=
"Wrap"
FontSize
=
"10"
/>
<
TextBlock
Text
=
" - "
FontSize
=
"10"
/>
<
TextBlock
Text
=
"{Binding End, StringFormat='hh:mm tt'}"
TextWrapping
=
"Wrap"
FontSize
=
"10"
/>
</
StackPanel
>
<
TextBlock
Text
=
"{Binding Start, StringFormat='dddd dd MMM yyyy'}"
Margin
=
"0 3"
FontSize
=
"10"
/>
</
StackPanel
>
<
TextBlock
Grid.Row
=
"2"
Grid.ColumnSpan
=
"2"
Text
=
"{Binding Body}"
Margin
=
"5 3 5 8"
TextWrapping
=
"Wrap"
/>
</
Grid
>
</
DataTemplate
>
'Default ---------------------
.FontFamily = New FontFamily("Times New Roman")
.FontSize = Unit.PointToDip(12)
.FontStyle = FontStyles.Normal
.FontWeight = FontWeights.Normal
'Zeilenabstand ---------------
.ChangeParagraphSpacingAfter(0)
.ChangeParagraphSpacingBefore(0)
.ChangeParagraphLineSpacing(1)
'Seitenränder Normal ---------
.Document.SectionDefaultPageMargin = New Telerik.Windows.Documents.Layout.Padding(96, 96, 96, 96)
.ChangeSectionMargin(New Telerik.Windows.Documents.Layout.Padding(96, 96, 96, 96))
'A4 --------------------------
.ChangePageSize(New SizeF(793, 1056))
'Set -------------------------
.DocumentInheritsDefaultStyleSettings = True
.UpdateEditorLayout()
We are using assemblies "RadEditorSharePoint of Version=4.4.1.0 and RadEditor.Net2 of Version=7.2.1.0" in our application build upon MOSS 2007.
When using the rich content editor :
<
telerik:RadGridView
AutoExpandGroups
=
"True"
AutoGenerateColumns
=
"False"
x:Name
=
"UserGrid"
ShowInsertRow
=
"False"
SelectionMode
=
"Single"
IsReadOnly
=
"True"
ItemsSource
=
"{Binding AllUsers}"
>
<
telerik:RadGridView.GroupDescriptors
>
<
telerik:GroupDescriptor
Member
=
"Division.Name"
SortDirection
=
"Ascending"
DisplayContent
=
"Division"
/>
</
telerik:RadGridView.GroupDescriptors
>
<
telerik:RadGridView.GroupHeaderTemplate
>
<
DataTemplate
>
<
TextBlock
Text
=
"{Binding Group.Key}"
FontWeight
=
"Bold"
MinWidth
=
"100"
/>
</
DataTemplate
>
</
telerik:RadGridView.GroupHeaderTemplate
>
<
telerik:RadGridView.Columns
>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding LastName}"
Header
=
"Last Name"
IsGroupable
=
"False"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding FirstName}"
Header
=
"First Name"
IsGroupable
=
"False"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Division.Name}"
Header
=
"Division"
>
<
telerik:GridViewDataColumn.AggregateFunctions
>
<
telerik:CountFunction
Caption
=
"Count:"
/>
</
telerik:GridViewDataColumn.AggregateFunctions
>
</
telerik:GridViewDataColumn
>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Active}"
Header
=
"Active"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding EmailAddress}"
Header
=
"Email"
IsGroupable
=
"False"
CellTemplateSelector
=
"{StaticResource EmailTemplateSelector}"
/>
</
telerik:RadGridView.Columns
>
</
telerik:RadGridView
>
Hello
Is it possible to limit the number of characters in a regular column
Without cell Template?
Best regards
Ehud