Telerik Forums
UI for WinForms Forum
1 answer
147 views

Hi,

Is there a way to choose BackgroundColor of cells in RadSpreadsheet from UI that are not part of the given list of colors???
or maybe a way to edit the background color # from UI ???

 

thanks,

Efrat

Dinko | Tech Support Engineer
Telerik team
 answered on 23 Mar 2023
1 answer
219 views

I'm using the  example for the radfontdropdownlist control to attempt to set the font for the radsyntaxeditor.  So far, I haven't had any luck changing it.    

Here is an example:

I attempted to set editor.SyntaxEditorElement.Font = font as well, but while that doesn't blow up, it doesn't seem to change anything either.

Here's the full code for this event:

    Private Sub fontDropdown_SelectedFontChanged(sender As Object, e As EventArgs) Handles fontDropdown.SelectedFontChanged
        Dim editor As RadSyntaxEditor = GetActiveEditor()
        If IsNothing(editor) Then Exit Sub
        Dim ff As FontFamily = New FontFamily(fontDropdown.SelectedFont)
        If ff.IsStyleAvailable(FontStyle.Regular) Then
            Dim font As Font = New Font(ff.Name, 10, FontStyle.Regular)
            editor.SyntaxEditorElement.EditorFontFamily = font.FontFamily
        Else
            For Each style As FontStyle In [Enum].GetValues(GetType(FontStyle))
                If ff.IsStyleAvailable(style) Then
                    Dim font As Font = New Font(ff.Name, 10, style)
                    editor.Font = font
                    Exit For
                End If
            Next
        End If

    End Sub

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Mar 2023
1 answer
216 views

I'm trying to save the current zoom level that a user has set for a document.   I can get the value of the zoom level, but what I can't figure out how to do, is set the zoomcombobox to that value.

As an example, the default combo box has a list of values.  If a user sets it to say 150%, I can save that value.  I can use the zoomto method to set it and the document will scale to 150%.  However, this doesn't change the zoomcombobox value, it stays at whatever it was (default of 100%).

The next problem is, the user can CTRL-Mousewheel to change the zoom level.  This will add values to the zoomcombobox that were not previously there (meaning, the values will be different than those available in the zoomcombobox).  Not really a problem on the surface, the document scales correctly, the zoomcombobox has the correct values.

But, if I reload the document and want to reset the zoom level to the users zoom preference, the odds are, the scale is not in the default set of values for the zoomcombobox.  

I hope this makes some sense. =)

Dinko | Tech Support Engineer
Telerik team
 answered on 22 Mar 2023
1 answer
151 views

Hi,

 

I know this has been answered for other suites, but I can't find a suitable solution for WinForms.

In a hierarchical GridView, the expand arrow is shown for every entry, whether there is a child entry or not.

I want the icon only for entries with children, which is what users expect.

 

Thank you

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Mar 2023
1 answer
155 views

Hi,

I have a MultiColumnComboBox with the activated ScrollOnMouseWheel function which make the mouse wheel scroll through the entries when the dropdown is closed, that is what I want.

But by scrolling this way every second item is skipped, and therefore half of the entires cannot be reached.

Is there a way to change that behaviour?

 

Thanks

Julian

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 20 Mar 2023
1 answer
221 views
i want to change the fontsize of the whole application by customer setting,  just like palette function, how can i do this in winform, thanks
FluentPalette.Palette.FontSizeS = 10; 
FluentPalette.Palette.FontSize = 12; 
FluentPalette.Palette.FontSizeL = 13; 
FluentPalette.Palette.FontSizeXL = 14; 
FluentPalette.Palette.FontFamily = new FontFamily("Segoe UI"); 
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 20 Mar 2023
1 answer
112 views

My code has LOTS of places where it sets-up new menu items, like:

 With delMenu.Items
            .Add(New RadMenuItem("..section from document", New EventHandler(AddressOf mnuDeleteSectionFromDocument_Click)))

...etc

I am moving it all over to a new version of my app, which is, I think, using a newer verison of the winforms framework.

This code still comiles, but doesn't create the link from the menu item to the address handler, whereas the more long-form approach works just fine:

  Dim aMenuItem = New RadMenuItem("test")
        AddHandler aMenuItem.Click, AddressOf mnuTest
        delMenu.Items.Add(aMenuItem)

Was there a change in the APi, in which case I need to change everything, or is there another way to create all the menu options and their handlers quickly?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Mar 2023
1 answer
184 views

Hi,

We currently store our visual theme files separately as xml files (per control) instead of the tssp package file. This allows us to have a more detailed source control over the changes in each control, merging between branches is easier, etc.

Using a manual process, we open the Visual Style Builder, load the complete folder with the given xmls, and save the theme as a package. We then later on, copy the file to our application, and publish it.

We would like to automate the process of generating the tssp package given the xml files either by some tool from Telerik (if it exists), or by using any API available.

Is this possible? if not, can you please suggest an alternative solution?

Thank you.

Dinko | Tech Support Engineer
Telerik team
 answered on 16 Mar 2023
1 answer
499 views

How do I make a cell or cell ranges read-only ?

I want to show the user the cells values, but don't want them to be able to edit the data.

Thanks

Dimitar
Telerik team
 answered on 15 Mar 2023
1 answer
139 views

Reading this document: https://docs.telerik.com/devtools/winforms/controls/syntax-editor/features/word-wrap

States that wordwrap should now be a thing.  However, it isn't for me.

 

I've updated to the latest Telerik (already was), and no luck.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 14 Mar 2023
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Form
Chart (obsolete as of Q1 2013)
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?