Telerik Forums
UI for WPF Forum
5 answers
334 views
I have a stacked chart combined with 2 line series.  When i create the legend, it shows all series as rectangles.  How do I make the line series show a colored line with a circle on the legend?
Angelo
Top achievements
Rank 1
 answered on 01 Dec 2017
1 answer
85 views

I am trying to create a WPF page that can scroll like a carousel a whole panel of controls at a time. 

Similar to hero images on websites, we would like a visual indicator of the number of panels and arrows for the user to press to move to the next panel (the carousel shouldn't automatically rotate).

I actually don't know which control (or combination of controls) to use to achieve the effect.

I have attached an image of the wireframe for reference.

Just a nudge in the right direction would really help!

Thanks

 

Martin Ivanov
Telerik team
 answered on 01 Dec 2017
1 answer
596 views

In a RadGridView, I am trying to change the border around the cell which has focus. Currently it appears as a faint grayish color, my boss has asked that I make it a darker, thicker border. Not having any luck so far. Why won't the Style definition below work?

 

<telerik:RadGridView.Resources>

                <Style TargetType="telerik:GridViewCell">

                    <Style.Triggers>

                        <Trigger Property="IsCurrent" Value="True">

                            <Setter Property="BorderBrush" Value="#000000" />

                            <Setter Property="BorderThickness" Value="2" />

                        </Trigger>

                    </Style.Triggers>    

                </Style>

</telerik:RadGridView.Resources>

Martin
Telerik team
 answered on 30 Nov 2017
3 answers
231 views
If I try to load a PDF that has several layers with the RadPdfViewer then all layers are shown but how do I allow the user to decide what layers should be shown?

I cannot find any way in the viewer where I can set what layers should be shown.

In any standard pdf viewer you are able to manage what layers you want to see e.g. to show layer 1 and 3 but not 2.
Anna
Telerik team
 answered on 30 Nov 2017
1 answer
207 views

Hi, once radGridView is place in the content for RadExpander, Microsoft Visual Studio stopped working. Is there any problem with the code (attached as image) ?

Please advice, Thanks.

Dinko | Tech Support Engineer
Telerik team
 answered on 30 Nov 2017
2 answers
189 views

Hello,

I would like to change the style of GroupHeaderRow and GroupFooterRow for each group in ElementExportingToDocument event.

Could you help me to to this please ?

Thanks a lot

Regards.

ie : 

private void ElementExportingToDocument(object sender, GridViewElementExportingToDocumentEventArgs e)
        { if (e.Element == ExportElement.GroupHeaderRow )
            {
//-----------------------------------------------------
// How to know here in witch group I am ??
//-----------------------------------------------------
Color MyColorGroup = ColorSwitchGroup(thisgroup);
 
                (e.VisualParameters as GridViewDocumentVisualExportParameters).Style = new CellSelectionStyle()
               {
                   FontSize = UnitHelper.PointToDip(11),
                   IsBold = true,
 
 
                   Fill = new PatternFill(PatternType.Solid, MyColorGroup ,MyColorGroup ),
                   CellBorders = CellBorders.CreateOutline(new CellBorder(CellBorderStyle.Thin, new ThemableColor(Colors.Black)))
               };
            }
            else if (e.Element == ExportElement.GroupFooterRow)
            {
//-----------------------------------------------------
// How to know here in witch group I am ??
//-----------------------------------------------------
Color MyColorGroup = ColorSwitchGroup(thisgroup);
                (e.VisualParameters as GridViewDocumentVisualExportParameters).Style = new CellSelectionStyle()
                {
                    FontSize = UnitHelper.PointToDip(11),
                    IsBold = true,
                    Fill = new PatternFill(PatternType.Solid, MyColorGroup , MyColorGroup ),
                    CellBorders = CellBorders.CreateOutline(new CellBorder(CellBorderStyle.Thin, new ThemableColor(Colors.Black)))
                };
            }
   }
Software
Top achievements
Rank 1
 answered on 30 Nov 2017
4 answers
107 views

RadGridView is a really good Grid but the edit experience is terrible...

I try to explain my problems with a check box column.

1) I click it, nothing happens but perhaps now the cell is selected, the style is a little bit changed

2) I click a second time, nothing. But perhaps now the style of checkbox is changed, now it is enabled

3) I click a third time, good now the check is box checked but the Item source value is not change, we are waiting for a magical "CellEditedEndEvent", why???

4) I press the enter key, now the value is really changed.

Now suppose that a user must check 100/200 items/day, it is the work of this user, why we are asking to user "please click 500/1000 time per days instead please..."

marc.

Marcello
Top achievements
Rank 1
Iron
 answered on 30 Nov 2017
1 answer
171 views

I just switched to the TreeListView from TreeView and I have a couple of simple questions. 

 

My collection is structured in a hierarchial type of structure. So there is only 1 item with children, children of children, children of children of children, etc. 

 

Is this the best way to format the collection or should I keep the collection "flat?"

 

I want to be able to support drag/dropping and persisting an order as the user drags/drops.  All of the examples I've seen seem to be using a flat type of collection so it is easy to use the TreeListView index.  

 

Thoughts?

Thanks, 

 

     

Dilyan Traykov
Telerik team
 answered on 30 Nov 2017
3 answers
176 views

Hi,

I would like define 1 style to my left connector (color blue) and 1 other style to my right connector (color red).

This is my code :

 

<core:ConnectorCollection x:Key="customConnectors">
    <telerik:RadDiagramConnector x:Name="Left" Offset="0 0.5" BorderBrush="Blue" Background="Blue" BorderThickness="1" />
    <telerik:RadDiagramConnector x:Name="Right" Offset="1 0.5" BorderBrush="Red" Background="Red" BorderThickness="1" />
    <telerik:RadDiagramConnector x:Name="Auto"
                                 Opacity="0"
                                 Offset="0.5 0.5" />
</core:ConnectorCollection>

 

But my code doesn't work

Can you help me please ?

Thanks,

Nicolas

Dinko | Tech Support Engineer
Telerik team
 answered on 29 Nov 2017
0 answers
113 views

Hello,

In my wpf application I want to have RadRibbonGroup that has DefaultVariant set to Collapsed. When User clicks on button there appears Group content containing some settings including datetime picker and other buttons. The problem is that in typical scenario user will have to choose date from datepicker and then click some of other buttons from group content. Why it is a problem? Because after clicking single button or choosing date from datepicker, group looses focus and its content dissapears. User has to click on small group icon to show form again. So here is my question, is there any way to make group with DefaultVariant set to "Collapsed" content to hide only on group button press or ESC button, and not hide when it looses focus?

I attache screenshot in case if I didn't make myself clear. User needs to choose date from datepicker and after that press "Set device time" button, but after choosing date whole group will dissapear.

Maciej
Top achievements
Rank 1
 asked on 29 Nov 2017
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?