Telerik Forums
UI for WinForms Forum
3 answers
408 views

I have diagram elements that are just text, and I noticed there's a RadDiagramTextShape so I'm using that. What I'm wondering is how to set the text alignment within the bounds. Currently the text is always centered, but I'd like to set it to Left or Right also. I've seen HorizontalAlignment and HorizontalContentAlignment properties but that's the closest I could find.

Thanks.

Valentino
Top achievements
Rank 1
 answered on 24 Aug 2017
3 answers
212 views

Is it possible to select multiple screen shapes at once? Either by Shift-click or mouse-drag over shapes to select them, or preferably both. Do I need to implement this myself separately to the RadDiagram functionality? I'd like to be able to drag around multiple items, or delete multiple items, etc.

Thanks.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 24 Aug 2017
11 answers
600 views
Hi,
Is there an easy way to swap columns and rows of a radgridview? Columns in the rows and viceversa... 
thanks,


Dess | Tech Support Engineer, Principal
Telerik team
 answered on 24 Aug 2017
1 answer
257 views
Hello

Our problem is:

When you group by one column (Ex.: Status) and then sort the grid by other column, if one record change the column value (ex.: status change), the grid create another group, with the same name only for this record.
This is a grouping behavior from Teleriks.RadGridView and in this version we are using, we can't seem override it. Our version is 2010.2.10.914.

Please look at the attached .gif and .png files for reference. You can see, that after grouping (by Status) and then sorting (by Status Time) there are multiple groups with the same category (Break).

What we want to archive is:
We want a single group for all entires from centain status - like Available, Break, WrapUp etc.
We do not currently implement any custom grouping methods.
We do implement a custom sorting that when you sort by a column that contains the status image, it instead sorts by Status column. Otherwise sorting works as intented and as default.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 24 Aug 2017
3 answers
182 views
hi,
I am using Winform TabStrip in Outlook add-in. I want my add-in should inherit outlook theme. It works fine with other controls. But Tabstrip uses it's own theme, can i disable theme or create transparent theme.

Regards
Sandeep
Hristo
Telerik team
 answered on 24 Aug 2017
4 answers
253 views

I have a data model that I'm trying to draw in a Diagram. I'm having some success with a custom shape class something like below. MyModelElement has X, Y, W, H & Text as well as other model data. I'm getting the bounding box in a different location to my visible shape, and it's always 100x100. I tried adding 

Size = new Size(element.W, element.H)

in the  RadDiagramShape creation below, but didn't change anything. Any help appreciated.

 

My code to populate the diagram is similar to below.

private void PopulateDiagram()
{
    foreach (var element in elements)
    {
        var elementShape = new MyElementShape(element);
 
        var shape = new RadDiagramShape
        {
            Text = element.Text,
            ElementShape = elementShape,
            ForeColor = Color.Black,
            DrawBorder = true,
            BorderThickness = new Padding(1),
            Position = new Telerik.Windows.Diagrams.Core.Point(element.X, element.Y)
        };
        radDiagram1.AddShape(shape);
    }
 
 My custom shape class
public class MYElementShape : ElementShape
{
    public MyElementShape(MyModelElement element)
    {
        _element = element;
    }
    public override GraphicsPath CreatePath(Rectangle bounds)
    {
        GraphicsPath path = new GraphicsPath();
        path.AddRectangle( new Rectangle(_element.X, _element.Y, _element.W, _element.H));
        return path;

   }

 }
Hristo
Telerik team
 answered on 24 Aug 2017
1 answer
145 views

I've added a custom toolbox shape using information from this thread. http://www.telerik.com/forums/how-to-custom-a-diagramtoolbox-item

But in my toolbox, the Key value is displayed as the label way below the actual shape. See toolbox.jpg. It must be to do with the bounds, but how do I set them?

In my override of ElementShape.CreatePath, where do the values for bounds come from? (see bounds.jpg).

 

Valentino
Top achievements
Rank 1
 answered on 24 Aug 2017
4 answers
139 views

I can't get to the custom shape editor as described in the docs, because my properties are different from what you show. I've attached a pic of what I see which is different from what is shown  here.

 

Thanks

 

Valentino
Top achievements
Rank 1
 answered on 23 Aug 2017
3 answers
118 views

Hello Telerik team,

I have read on the documentation that the ChartView support null values on series but only by drawing a blank point. It's a good idean on some chart type but on line series the result is just unusable most of time.

Is there a way to have the same behavior than Microsoft Excel, which just drop these null points, and draw a continus line between two points ?

Best regards

Marco

Dimitar
Telerik team
 answered on 23 Aug 2017
3 answers
753 views
I'm using a RadListView with custom items. The custom item has a stacklayoutpanel with horizontal orientation. The stackLayoutPanel contains 2 images then some text then another image, as per the attached screenshot. I'd like to lay things out so that the red cross image is always at the far right of the listview, with empty space between the text and the red cross. The listview is anchored so that if the form is resized, the listview resizes with it and I'd like the red cross to adjust itself so it's always at the far right when the listview is resized. How do I achieve this?
Dimitar
Telerik team
 answered on 23 Aug 2017
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
GroupBox
WaitingBar
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
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?