Telerik Forums
UI for WPF Forum
3 answers
121 views

Hi,

I have an application with Diagram using GraphSource.
Actually i add Container with default styledefine by StyleSelector and i would like to allow my user to choose a different style.
How can i do this ? If i use SelectedItem, i have a model not a shape or container so i can't define style.

Thanks for your help.

Nicolas

nicolasf
Top achievements
Rank 2
 answered on 03 Dec 2017
1 answer
181 views
I have stumbled upon an issue that has me baffled. I am using v2017.2.503.45 of the Telerik WPF UI and loading up a RadGridView with about 150 records and 16 columns of data - 3 of the columns are GridViewComboBoxColumns and the rest are GridViewDataColumns. On the RadGridView I have:

ItemsSource="{Binding Registrations}"
IsBusy="{Binding LoadingRegistrations}"

LoadingRegistrations is set to true in an async method that uses await Task.Run(...) to retrieve the records and assign them to the Registrations property which is an ObservableCollection<Registration>. Within my App.xaml.cs I have:

StyleManager.ApplicationTheme = new Office2016Theme();

Using the Office 2016 theme no busy indicator is displayed. If I remove that line from App.xaml.cs or change it to use the Windows 7 theme, for example, the busy indicator is displayed, but it does not animate. I'm OK with the no animation, but why does the indicator not even display when using one of the more modern themes (I have tried several and none of them display the indicator).
Sia
Telerik team
 answered on 01 Dec 2017
5 answers
329 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
82 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
582 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
229 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
201 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
179 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
102 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
165 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
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
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
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
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?