Could you advice me how to implement the same (as example) SelectionMiniToolbar as CustomSelectionMiniToolbar?
There is other issue I have that causing me trouble when using default SelectionMiniToolbar. When I put following code for RichTextBox:
this.editor.FontFamily = new FontFamily("Arial");
this.editor.FontSize = Unit.PointToDip(12);
this.editor.DocumentInheritsDefaultStyleSettings = true;
public
class
FilterTreeNode : NotificationObject
{
private
ToggleState _checkState = ToggleState.On;
protected
ObservableCollection<FilterTreeNode> _children;
public
ToggleState CheckState
{
get
{
return
_checkState; }
set
{
if
(_checkState != value)
{
_checkState = value;
RaisePropertyChanged(()=>CheckState);
}
}
}
public
ObservableCollection<FilterTreeNode> Children
{
get
{
return
_children; }
set
{
if
(_children != value)
{
_children = value;
RaisePropertyChanged(() => Children);
}
}
}
}
<
Style
x:Key
=
"ItemContainerStyle"
TargetType
=
"telerik:RadTreeViewItem"
>
<
Setter
Property
=
"IsExpanded"
Value
=
"{Binding IsExpanded, Mode=TwoWay}"
/>
<
Setter
Property
=
"IsSelected"
Value
=
"{Binding IsSelected, Mode=TwoWay}"
/>
<
Setter
Property
=
"CheckState"
Value
=
"{Binding CheckState, Mode=TwoWay}"
/>
<
Setter
Property
=
"MinHeight"
Value
=
"0"
></
Setter
>
</
Style
>
...
ToggleState state = ToggleState.Off;
if
(item.Items.Count > 0)
{
if
(checkedCount == item.Items.Count)
{
state = ToggleState.On;
}
else
if
(checkedCount + indetermCount > 0)
{
state = ToggleState.Indeterminate;
}
}
else
{
state = item.CheckState;
}
return
state;
Hi,
I am using Radscheduleview control in my application.I wanted to check if “Radscheduleview” telerik control has option to select timeslots and display only the selected timeslots .
Currently I can filter the timeslot by setting start time and end time in Radscheduleview.
Example: If Start time - 8:00 PM and End time - 11:00 PM
Radscheduleview displays the timeslot as below (in week view) :
Monday |
Tuesday |
Wednesday |
Thursday |
Friday |
Saturday |
Sunday |
|
8:00 PM |
|
|
|
|
|
|
|
8:30PM |
|
|
|
|
|
|
|
9:00PM |
|
|
|
|
|
|
|
9:30PM |
|
|
|
|
|
|
|
10:00PM |
|
|
|
|
|
|
|
10:30PM |
|
|
|
|
|
|
|
Please let me know whether the time slot in Radschedview (week view) can be implemented as shown below.
If user wants to see only for 8 , 8:30 ,10,11 then grid has to be displayed as :
Monday |
Tuesday |
Wednesday |
Thursday |
Friday |
Saturday |
Sunday |
|
8:00 PM |
|
|
|
|
|
|
|
8:30PM |
|
|
|
|
|
|
|
10:00PM |
|
|
|
|
|
|
|
11:00PM |
|
|
|
|
|
|
|
Putting a simple button in a Tile, but not getting any click event?
<
telerik:RadTileList
CanUserSelect
=
"false"
>
<
telerik:Tile
TileType
=
"Single"
>
<
Button
Content
=
"Hello"
Click
=
"ClickMe"
/>
</
telerik:Tile
>
</
telerik:RadTileList
>