Telerik Forums
UI for WinForms Forum
1 answer
69 views

Hi,

 

is it possible to color only the expanded row header?

See image.

What type has this cell?

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 04 May 2018
1 answer
112 views

Hello, 

I have some problems when I try to deserialize custom objects which implements RadDiagramShape.

I have implemented a custom shape :

public class MyShape : ElementShape
{
    public override GraphicsPath CreatePath(System.Drawing.Rectangle bounds)
    {
        GraphicsPath path = new GraphicsPath();
        path.AddString("Custom", new System.Drawing.FontFamily("Arial"), 0, bounds.Width, Point.Empty, StringFormat.GenericTypographic);
        return path;
    }
}

And a custom diagramShape :

public sealed class MyDiagramShape : RadDiagramShape
    {
        public MyDiagramShape()
        {
            ShapeText = "";
            ElementShape = new MyShape();
            InternalElementColor = System.Drawing.Color.LightBlue;
        }
    }
 

I add this custom shape to my diagram:

MyDiagramShape diagramShape = new MyDiagramShape();
diagramShape.Position = new Telerik.Windows.Diagrams.Core.Point(100, 80);
radDiagram1.AddShape(diagramShape);
 

This works fine, and when I serialize, I get a XML like this: 

<RadDiagram>
 <Shapes>
  <MyDiagramShape Type="WindowsFormsApplicationCustomShape.MyDiagramShape"
 </Shapes>
</RadDiagram>

 

Problems come when I try to load this XML, object instanciated are typed as RadDiagramShape and not MyDiagramShape.

When I serialize again, the structure of the XML is like this :

<RadDiagram>
<Shapes>
  <RadDiagramShape Type="Telerik.WinControls.UI.RadDiagramShape"
</Shapes>
</RadDiagram>

 

I don't know if it's possible to instanciate objects with their derived type like specified in the XML ?

Thanks in advance

florian
Top achievements
Rank 1
 answered on 04 May 2018
0 answers
53 views

How to make an HTML format appear in the CardView field?

 

Rich
Top achievements
Rank 1
 asked on 03 May 2018
3 answers
1.1K+ views
Hello,

I'll try and explain what I'm after. I have a multiline RadTextBox, (takes about 7 lines of text). I dont want to show scroll bars as I start to type. When the text gets to the 8th line either via enter or wordwrap to make the vertical scroll bar appear.

I can do this with a RichTextbox but need to use a RadTextBox

Is this possible?

I have tried using the .lines property but that doesn't increment when using word wrap.

Any help much appreciated.

Terry


Dimitar
Telerik team
 answered on 03 May 2018
1 answer
308 views
I can't see how to set the main icon of the application. i.e. what is seen when the app is minimized to the taskbar and also when installing from clickonce publishing.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 03 May 2018
1 answer
99 views

Hello, 

I would like to implement a custom connection content, depending on the size of the connection.

Basically, I would like to display the distance between the 2 Shapes that are linked by the connection.

I have tried to play with  OnConnectionManipulationCompleted event, and I'm able to display that info at the creation of the connection, but it's never refreshed.

Do you know how if I can refresh that info while I'm dragging a shape ?

Thanks

florian
Top achievements
Rank 1
 answered on 03 May 2018
2 answers
109 views

Hello,

I'm creating a DataFilter showing a premade expression and not allowing to Add or Remove other expressions or groups.

I'd like also to disable the possiblity to click on a field and change it, I want to keep them fixed.

I've seen the AllowEdit property, but it's too drastic, since it does not allow even to change the value to look for.

Where should I look?

Thank you!

Andrea
Top achievements
Rank 1
 answered on 02 May 2018
3 answers
256 views
Win Form
How to make a cards with the help of a "telerik"?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 May 2018
2 answers
114 views

Hi

Please look at the photo and describe the problem to me

https://image.ibb.co/daZf6x/At.jpg

Code:

private void AtouAutoCompleteNameDrive()
        {
            AutoCompleteStringCollection AutoComplete = new AutoCompleteStringCollection();
            SqlDataReader SR = new Factors_C().ListNameDrive();
            if (SR.Read())
            {
                while (SR.Read())
                    AutoComplete.Add(SR["NameDrive"].ToString());
            }
            ComBoBoxNameDr.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
            ComBoBoxNameDr.AutoCompleteSource = AutoCompleteSource.CustomSource;
            ComBoBoxNameDr.AutoCompleteCustomSource = AutoComplete;
        }

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 May 2018
1 answer
107 views
How to make cards?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 01 May 2018
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
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
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
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?