Let's say I want to give my user the ability to select some text and convert it to some other text, for instance to mangle it with ROT13 cipher. And selection could be made of several ranges, including in table cells. How would I go about this? My first idea was something like the code below, but some kind of update is required, because I only see the change if I scroll the text out view and back in, and even then the changed text does not reflow, but it continues after the right margin. Also, ability to undo the changes would be nice.
foreach
(var inlineLayoutBox
in
radRichTextEditor1.Document.Selection.GetSelectedBoxes())
{
if
(inlineLayoutBox.Text.Contains(
'e'
))
inlineLayoutBox.Text = inlineLayoutBox.Text.Replace(
"e"
,
"3333333"
);
}
this.FormElement.TitleBar.Visibility = ElementVisibility.Collapsed; in the form load, but it shows an empty area initially until a resize or refersh.
Hello,
is it possible to display emotes in a message and edit the color of the name ??
Ive added an Example of what i mean.
Hi All,
How can we just clear radgridview, clear row, column, relation also on their template ?. Then radgridview being like the first time it loaded when then application run. So we can define columns on it over and over. Instead of using those :
RadGridView1.DataSource = Nothing
template.DataSource = Nothing
template1.DataSource = Nothing
While Me.RadGridView1.Rows.Count > 0
Me.RadGridView1.Rows.RemoveAt(Me.RadGridView1.Rows.Count - 1)
End While
While Me.RadGridView1.Columns.Count > 0
RadGridView1.Columns.RemoveAt(Me.RadGridView1.Columns.Count - 1)
End While
While template.Rows.Count > 0
template.Rows.RemoveAt(template.Rows.Count - 1)
End While
While Me.RadGridView1.Relations.Count > 0
Me.RadGridView1.Relations.RemoveAt(Me.RadGridView1.Relations.Count - 1)
End While
Thanks in advance
How select text/value in SpinEditor?
If set focus is object (method Enter) value SpinEditor select all
How to do it?
Hi, I was wondering if it was possible for a DescriptionTextListDataItem to have children in a dropdownlist control?
See on video DropDownList
I have the attached so far
Hi~~
I want use the theme and change the backcolor of timelineitem in TimelineItemFormatting
protected override void OnShown(EventArgs e)
{
ThemeResolutionService.LoadPackageFile("CustomTheme.tssp");
ganttview.ThemeName = "CustomTheme";
// I Use CustomTheme after not change timeline backcolor
}
private void ganttView_TimelineItemFormatting(object sender, GanttViewTimelineItemFormattingEvent Args e)
{
foreach(LightVisualElement element in e.ItemElement.BottomElement.Children)
{
if(holidayList.Contain(element .Start))
{
// not chage color
// why?
element.BackColor = Color.Red;
element.BackColor2 = Color.Red;
element.BackColor3 = Color.Red;
element.BackColor4 = Color.Red;
}
}