Hello, I want to use SyntaxEditor for coloring and folding of my very simple custom language for defining sequence of steps. I have already made some tests and have no problem with coloring. But I have two questions to SyntaxEditor folding. My language is very simple, it's just sequence of steps, but now I have to implement if/else/endif handling.
1. If I add folding pair if/endif, it works ok, but what if I want to fold if and else branches separately? Is it possible to do folding somehow like on this screenshot? I tried similar code it in Visual Basic, VB folds whole section from if to endif, but I would like to do it like on the screenshot, if it's possible.
2. How can I customize the folding "title" (I don't know the exact terminology). I added a #region / #endregion to previous sample, and it's folding like on this screenshot:
I would like it like in Visual Studio, in case of if statement, you can see the condition, but region hides also the region directive, like on the next screenshot.
I know, C# is folding command block with braces, so it's different situation, but is it possible to do it like this also with my custom language?
I attached also my project, if it's needed for something.
Thanks.
Hello, how can I block the arrow keys from the Scheduler so that the user cannot change the month view's calendar?
I have blocked out and set all the days that is not within X month to be hidden, so I do not want the user to be able to use the arrow keys and accidentally change the view.
Also, related to the scheduler, how can I loop through and go through the entire month day-by-day to grab all the appointments?
Something like, for each day in MONTH....
Thank you

Hello,
I am getting to know the RADPropertyGrid control, it seems flexible.
I have an XML file where "Key" would be the property name and "Value" would be the value in RADPropertyGrid. Where required, I also have a value list between the "ValueList" element. My question is, how can I pass the XML so that the value list for that element is displayed as a string in a combobox in the RADPropertyGrid associated with the property?
Can you show me a sample project on how to do this?
Sample XML:
<PictureBox>
<Property>
<Key>EnableClickZoom</Key>
<Value>False</Value>
</Property>
<Property>
<Key>EnableZoom</Key>
<Value>False</Value>
</Property>
<Property>
<Key>EnableAutoPan</Key>
<Value>False</Value>
</Property>
<Property>
<Key>SizeMode</Key>
<Value>Fit</Value>
<ValueList>
<Value>Normal</Value>
<Value>Stretch</Value>
<Value>Fit</Value>
</ValueList>
</Property>
<Property>
<Key>Zoom</Key>
<Value>30</Value>
</Property>
<Property>
<Key>InterpolationMode</Key>
<Value>Default</Value>
<ValueList>
<Value>Default</Value>
<Value>Low</Value>
<Value>High</Value>
<Value>Bilinear</Value>
<Value>Bicubic</Value>
<Value>NearestNeighbor</Value>
<Value>HighQualityBilinear</Value>
<Value>HighQualityBicubic</Value>
</ValueList>
</Property>
</PictureBox>
Would it be possible in the next release to expose the panel border visibility at design time in the properties window, rather than having to navigate through "Edit UI Elements" (or via code). I have a lot of panerls where I don't want to see the border at run time but do need to see it sometimes at design time.
Thanks

Hi,
when calling the Initialize method WebCam fires an exception.
This is also in your demo application.
Version 2022.2.511.40, WinUI
Regards
Hardy
Hi.
I want the user to be able to sort the tabs as they want.
Is there any way to sort the tabs programmatically?
Is there some simple method to stacking custom controls inside of a radpanel (or other element)? I have a Radpanel that I want to add strips of custom FileUploadRecord Controls to that vertically stack.
I still need to wrap my head around docking, floating, anchoring, position, auto size, etc, but my current method of adding is:
pnlFiles.Controls.Add(new FileUploadRecord());

Hello! Telerik for Winform has been really nice so far. I'm trying to see how these things can be accomplished with the Scheduler.
I hope it is okay to ask multiple questions in a single post since it is all related to the same control. If not, I can make a new post for each question.
1. Only show the Dates that are within X month.
Bad Paint edit of what I'd like to achieve
I want to be able to only show the dates that are for the selected month (or programmatically set month)
Ex: User selects July 2022, the scheduler should only show July 1 through July 30 and nothing from June or Aug.
I can hide the dates/cells from showing up, but that leaves empty spaces. It would be nice to fill up those spaces
If e.CellElement.Date.Month <> Date.Now.Month Then
If Not (TypeOf e.CellElement Is SchedulerHeaderCellElement) Then
e.CellElement.Visibility = ElementVisibility.Hidden
End If
End If2. Change all cell colors to be the same instead of the default where its alternates between light/dark colors
3. Showing full month shrinks the cells, it only fits 1 appointment.
I'm guessing if #1 is possible, there will be more room to change the size of the cells?
I'm hoping some of these questions can be answered, it would greatly help me not waste the trial times

After binding the data to GridView, the background color of a specific row was changed through row formatting.
But there are two problems.
First, I can only see the changed background color if I click on the row.
I want the background color of the row to remain changed by the cell value even if it is not focused.
Second, when I scroll, the changed color remains where the background color of the row has changed.
ex) 1step -> 3 row
1column
1row x >> backColor : red(changed)
2row o >> backColor : white
3row o >> backColor : white
>>>>> down scoll
1column
4row o >>backColor : red ???
5row o >>backColor : white
6row x >>backColor : red(changed)
>>>>> up scroll
1column
1row x >> backColor : red(changed)
2row o >> backColor : white
3row o >> backColor : red??

Hi.
How can i customize the textbox inside the filter cell?
I want the borders of this textbox to appear all the time, not just when in edit mode.
The filter row and filter cell are easy to customize. private void rgvCompanyList_ViewRowFormatting(object sender, RowFormattingEventArgs e)
{
if (e.RowElement is GridFilterRowElement)
{
e.RowElement.RowInfo.Height = 40;
e.RowElement.BorderBoxStyle = BorderBoxStyle.FourBorders;
e.RowElement.BorderWidth = 4;
e.RowElement.BorderColor = Color.Red;
}
}
private void rgvCompanyList_ViewCellFormatting(object sender, CellFormattingEventArgs e)
{
if (e.CellElement is GridFilterCellElement)
{
e.CellElement.DrawBorder = true;
e.CellElement.BorderBoxStyle = BorderBoxStyle.FourBorders;
e.CellElement.BorderWidth = 2;
e.CellElement.BorderColor = Color.Red;
Font font = new Font(e.CellElement.Font.Name, 9, FontStyle.Bold);
e.CellElement.Font = font;
e.CellElement.TextAlignment = ContentAlignment.MiddleCenter;
}
}But I couldn't find how to access the text box inside the cell.
I want the borders of this text box to be always visible, as seen in the image below.