Hi,
we are using telerik checkboxeditor in our project.
we are adding some text to checkboxeditor.
The background color of Checkboxeditor we are getting is orange.
When we change the back ground color of check box . Only the border of checkbox is getting changed.
I want to change the back ground of text as well which is given to check box.....
Please reply me with a solution to solve this problem
<
<Telerik:RadTreeView x:Name="treeColumns" MinHeight="500" DragEnded="treeColumns_DragEnded"
VerticalAlignment="Top" SelectionMode="Multiple" IsEditable="True" IsDragDropEnabled="True"
ItemTemplate="{StaticResource ItemTemplate}"
ItemsSource="{Binding Converter={StaticResource convWorkflow}}"></Telerik:RadTreeView>
treeColumns.DragEnded +=
new RadTreeViewDragEndedEventHandler(treeColumns_DragEnded);
private void treeColumns_DragEnded(object sender, RadTreeViewDragEndedEventArgs e)
{
int index;
WorkFlow draggedItem = e.DraggedItems[0] as WorkFlow;
WorkFlow targetItem=e.TargetDropItem.DataContext as WorkFlow;
if (draggedItem != targetItem)
{
switch (e.DropPosition)
{
case DropPosition.After:
index = e.TargetDropItem.Index + 1;
break;
case DropPosition.Before:
index = e.TargetDropItem.Index - 1;
break;
case DropPosition.Inside:
index = e.TargetDropItem.Items.IndexOf(draggedItem);
break;
default:
index = -1;
break;
}
}
else
{
index = e.TargetDropItem.Index;
}
draggedItem.SortOrder = index;
DataAccess.ctx.SubmitChanges();
}
Hi everyone,
whit others component suite it is possible, example:
<Style TargetType="ComboBox" BasedOn="{StaticResource {x:Static ribbon:RibbonStyles.ComboBoxKey}}" /> |
<Style TargetType="TextBox" BasedOn="{StaticResource {x:Static ribbon:RibbonStyles.TextBoxKey}}" /> |
<Style TargetType="PasswordBox" BasedOn="{StaticResource {x:Static ribbon:RibbonStyles.PasswordBoxKey}}" /> |
<Style TargetType="Button" BasedOn="{StaticResource {x:Static ribbon:RibbonStyles.ButtonKey}}" /> |
<Style TargetType="ToolTip" BasedOn="{StaticResource {x:Static ribbon:RibbonStyles.ToolTipKey}}" /> |
<Style TargetType="CheckBox" BasedOn="{StaticResource {x:Static ribbon:RibbonStyles.CheckBoxKey}}" /> |
<Style TargetType="RadioButton" BasedOn="{StaticResource {x:Static ribbon:RibbonStyles.RadioButtonKey}}" /> |
<Style TargetType="ContextMenu" BasedOn="{StaticResource {x:Static ribbon:RibbonStyles.ContextMenuKey}}" /> |
<Style TargetType="ScrollViewer" BasedOn="{StaticResource {x:Static ribbon:RibbonStyles.ScrollViewerKey}}" /> |
<telerik:RadGridView.RowDetailsTemplate> |
<DataTemplate> |
<Grid> |
<Grid.ColumnDefinitions> |
<ColumnDefinition Width="80" /> <!-- A kind of margin we're using --> |
<ColumnDefinition Width="*" /> |
</Grid.ColumnDefinitions> |
<!-- Here there is a component that appears in column 0 --> |
<!-- The actual description --> |
<TextBlock |
Grid.Column="1" |
Text="{Binding Description, Mode=OneWay}" |
TextWrapping="Wrap"/> |
</Grid> |
</DataTemplate> |
</telerik:RadGridView.RowDetailsTemplate> |