Telerik Forums
UI for WinForms Forum
1 answer
134 views

Hello,

I have tried to use Custom Font with a BreadCrumb with the purpose of displaying an home icon for the first Element with the following code.

        MyBreadCrumb.BreadCrumbElement.Items(0).Text = ChrW(&HF015)
        MyBreadCrumb.BreadCrumbElement.Items(0).CustomFont = "Font Awesome 5 Free Solid"

But instead of a nice looking home Glyphs I have an old crossed ballot (see attached picture)

I'm missing something ?

By the way, you should take a look at Font Awesome Example  (in VB.NET) in the following page https://docs.telerik.com/devtools/winforms/telerik-presentation-framework/glyphs and correct it. (the ChrW() instead of /uF017, the multiple variable settings instruction in one line).

Thank you for your support

Marco Guignard

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 05 May 2021
2 answers
841 views

Hi.

One of nice type of progress bar is "step progress bar" as like attached picture . How can make it in winform. 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 04 May 2021
1 answer
119 views
Is it possible to setup a chart with multiple y axis aligned as shown in the attached picture?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 04 May 2021
1 answer
149 views
I've looked but I can't find any way to select a sort on the object?  On a radDropDownList there is a "SortStyle" property.  This is what I am looking for, but on a CommandBarDropdownList.  I can of course sort the data beforehand, but I assumed there would be a SortStyle on it and if so, would rather use the existing functionality if it exists.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 03 May 2021
18 answers
1.5K+ views
Me.RadGridView1.Rows.Clear()
Me.RadGridView1.ColumnCount = 5
 
RadGridView1.Columns(0).HeaderText = "Id."
RadGridView1.Columns(1).HeaderText = "Name"
RadGridView1.Columns(2).HeaderText = "Under Appeal"
RadGridView1.Columns(3).HeaderText = "Terminated"
RadGridView1.Columns(4).HeaderText = "#"
 
RadGridView1.Columns(1).Width = 100
 
 
RadGridView1.Rows.Add ( 1, "John", True, True )
RadGridView1.Rows.Add ( 2, "Mary", True, False )
RadGridView1.Rows.Add ( 3, "Peter", False, True )


How do I get the radgridview to display checkboxes for boolean values for the last two columns? The columns get manually loaded.

Best regards
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 03 May 2021
2 answers
521 views

Hello,

we are creating a barcode programmatically like it is described here: https://www.telerik.com/forums/generate-barcode-image-programmatically

The problem is, that the barcode itself is a bit small (width) for our purpose.

Our code looks like this:

var barcode = new RadBarcode();
barcode.Width = 900;
barcode.Height = 150;
barcode.Symbology = new Code39();
barcode.Value = "1890";
barcode.LoadElementTree();
var barcodeImage = barcode.ExportToImage(900, 150);
barcodeImage.Save(@"C:\test.png");

But if you look at the attached image (test.png), it has the correct size alright, but not the barcode itself. 

Is there away to give the barcode itself more width?

 

Kind regards.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 03 May 2021
1 answer
166 views
Hello
When I set
Me.IsMdiContainer = true
the background color of the form automatically changes to DarkGray while I need to keep the original color(when: Me.IsMdiContainer = false).

guid me

thanks

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 03 May 2021
4 answers
1.1K+ views

I want to generate the image of BarCode without showing on the WinForm.  How to assign "Code39Extended" to Symbology?

 RadBarcode rBL = new RadBarcode();
 rBL.Symbology = "Code39Extended";

Thanks.

 

Dess | Tech Support Engineer, Principal
Telerik team
 updated answer on 30 Apr 2021
1 answer
123 views

 

Hello,

I'm struggling to get some events to work on a RadListViewElement, which is a child of a custom RadElement, which in turn is inside another custom RadControl. I guess a few lines of code will help to describe this:

Imports Telerik.WinControls
Imports Telerik.WinControls.UI

Public Class xElement
    Inherits RadElement

    Private listElement As RadListViewElement

    Public Sub New()
        'Me.NotifyParentOnMouseInput = True
        'Me.ShouldHandleMouseInput = True
        'Me.Capture = True
        'Me.CaptureOnMouseDown = True
    End Sub

    Protected Overrides Sub OnLoaded()
        MyBase.OnLoaded()

        AddHandler listElement.ItemMouseUp, Sub(s, e)
                                                If e.OriginalEventArgs.Button = MouseButtons.Left Then
                                                    listElement.SelectedItem = e.Item
                                                End If
                                            End Sub
    End Sub

    Protected Overrides Sub CreateChildElements()
        MyBase.CreateChildElements()

        listElement = New RadListViewElement
        With listElement
            '.ShouldHandleMouseInput = True
            '.NotifyParentOnMouseInput = True
            '.Capture = True
            '.CaptureOnMouseDown = True
            .ViewType = ListViewType.ListView 
            .DataSource = New List(Of String)(New String() {"a", "b", "c"})
        End With
        Me.Children.Add(listElement)
    End Sub

End Class
Imports Telerik.WinControls

<ToolboxItem(True)>
Public Class xControl
    Inherits RadControl

    Private element As xElement

    Public Sub New()
        element = New xElement()
        RootElement.Children.Add(element)
    End Sub

End Class

Some remarks on this piece of code:
- The items in listview react to events like mouseEnter/Leave.
- These items can't be selected by using the mouse, the click event does nothing on them, the action needs to be managed manually, which here is done in the OnLoaded() sub.
- The click event works on other elements inside listView, so, for instance, the scrollbar of the item container can be clicked, the list of items can be scrolled.

So, some events work out-of-the-box and some do not, and a certain event works here but not there, so I'm somewhat confused on what's going on. Anyway, it doesn't seem like the way it's supposed to be, and I'm sure the proper solution is a lot less cumbersome than manually capturing each event and then replicating the original behavior.

I guess I'm just missing something about how TPF works, maybe there's some element not initialized correctly, perhaps I need to enable some property. Any suggestions on this?

Thank you

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 Apr 2021
1 answer
132 views

How can I find out the selected layout  (list, small icon, etc.) chosen by the user at the point the dialog is closed?

Thanks

Steve

Nadya | Tech Support Engineer
Telerik team
 answered on 28 Apr 2021
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)
Chart (obsolete as of Q1 2013)
Form
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?