or
public
Form1()
{
InitializeComponent();
radMarkupDialog1.Editor.Parent = panel1;
radMarkupDialog1.Editor.EditorClosed +=
new
EventHandler(Editor_EditorClosed);
}
void
Editor_EditorClosed(
object
sender, EventArgs e)
{
// Track down ((radMarkupDialog1.Editor.DesignViewDomDocument).body).innerHTML - In VS without SP, there are font styles for color, size etc., but in VS with SP, they're gone
;
}
If
e.Node.Text = GroupNameRadTextBox.Text.Trim()
Then
e.NodeElement.BackColor = Color.LightYellow
e.NodeElement.GradientStyle = Telerik.WinControls.GradientStyles.Solid
e.NodeElement.ForeColor = Color.Red
e.NodeElement.DrawFill =
True
Else
e.NodeElement.ResetValue(LightVisualElement.BackColorProperty, Telerik.WinControls.ValueResetFlags.Local)
e.NodeElement.ResetValue(LightVisualElement.DrawFillProperty, Telerik.WinControls.ValueResetFlags.Local)
e.NodeElement.ResetValue(LightVisualElement.GradientStyleProperty, Telerik.WinControls.ValueResetFlags.Local)
e.NodeElement.ResetValue(LightVisualElement.ForeColorProperty, Telerik.WinControls.ValueResetFlags.Local)
End
If