Telerik Forums
UI for WPF Forum
3 answers
289 views

It seems when I set a theme globally (using Implicit) and new Window I show doesn't have the theme applied to the actual Window ... like Title bar color, font, windows background ... they all seem to inherit default and not my assigned theme (i.e. GreenTheme).  The telerik controls on the Window do indeed use my assigned theme.

Does Telerik UI WPF suite provide an alternative or is this a bug?

Cheers, Rob.

Vicky
Telerik team
 answered on 02 Nov 2020
5 answers
1.2K+ views

Hello.

Help me with next problem, how i can rotate column header text of GridViewDataColumn on 90 degree?

I am create columns in programm code

column = new GridViewDataColumn
{
                   ColumnGroupName = args.ColumnDef.ColumnGroupName,

                    DataMemberBinding = new Binding(args.ColumnDef.Member)
                    {
                        Mode = BindingMode.TwoWay,
                        UpdateSourceTrigger = UpdateSourceTrigger.PropertyChanged
                    },
                    IsReadOnlyBinding = new Binding(args.ColumnDef.IsReadOnlyMember)
                    {
                        Converter = new NullToBooleanConverter {IsInverted = true}
                    },

                    Header = args.ColumnDef.Header,
                    HeaderTextWrapping = TextWrapping.Wrap,
                    IsVisible = true,
};

 

Also, how i can add borders to cells?

Anton
Top achievements
Rank 1
Veteran
 answered on 02 Nov 2020
2 answers
596 views

Hi,

I need to draw arrows on my ImageEditor.
These arrows must be drawn in multiple directions (N, NE, E, SE, S, SW, W, NW).
How can I accomplish that?

I implemented a Custom Shape tool and in my GetShapeGeometry() function I return the arrow Path figure.
But my shape seems to be crushed...

Any idea?

 

Thanks.

Fabien
Top achievements
Rank 1
 answered on 30 Oct 2020
1 answer
49 views

Hello,

I linked the Search Command to the context menu in a gridview but the command is not executable. How can I enable the command?

See code:
        <telerik:RadGridView ItemsSource="{Binding Countries}" IsReadOnly="True" ClipboardCopyMode ="Default"
                             SelectionUnit="Mixed" SelectionMode="Extended"
                             >
            <telerik:RadContextMenu.ContextMenu>
                <telerik:RadContextMenu x:Name="ContextMenu32">
                    <telerik:RadMenuItem Header="Copy" Command="Copy"/>
                    <telerik:RadMenuItem Header="Open searchbar" Command="Search"/>
                </telerik:RadContextMenu>
            </telerik:RadContextMenu.ContextMenu>
        </telerik:RadGridView>

Thanks in advance for your help.

 

Dilyan Traykov
Telerik team
 answered on 30 Oct 2020
3 answers
345 views

Brief description of the issue.  I have several programs which are all plugins to the same parent application.  Because the style dictionary themes are singletons changing them for one changes them for all of the main application including all plugins (all mine plus any other users that may be using it).  Right now I'm doing things like this:

            FluentPalette.Palette.AccentColor = Color.FromRgb(86, 185, 154);
            FluentPalette.Palette.AccentMouseOverColor = Color.FromRgb(108, 108, 108);

This works fine, but it affects anything using the Fluent theme with those colors.  If any of my other plugins want to use different theme colors (spoiler alert, they do) I can't get it to do both.  

That's the issue.  Right now I have it set up to use implicit themes and I merge the theme dictionaries from the theme dll into a common resource dictionary in each plugin and then any override styles that are necessary for each plugin are in that dictionary and that dictionary is merged into any necessary user controls in the plugin.  This effectively gives me one place for each plugin to manage the Telrik stuff and separates them from each other all except the main color overrides show above.

So the question is; is there a way to set these colors only in a specific resource dictionary?  Instead of setting these in code behind like I've shown, can I have a specific dictionary say that when it's merged it that the 'Accent Color' key is green or red or whatever it should be for that dictionary and have it different for another dictionary?

Dilyan Traykov
Telerik team
 answered on 30 Oct 2020
1 answer
92 views
Is it possible to have more than one RadScheduleView in a project with different styles?
Dinko | Tech Support Engineer
Telerik team
 answered on 30 Oct 2020
4 answers
233 views

Hi,

I'm battling with an issue where the ImageAdornerUi is not visible when viewing in a WPF window in a VSTO project.  I can create a standalone WPF app and the adorner is visible, but in the VSTO project with the same code, it's not.  I'm assuming that this is a resource resolution issue, but I coming up short on finding the actual problem. 

I'm attaching two images that show the difference between the two project types, and also have a bare bones VSTO (Excel) project that I can send if that would be helpful.

I don't believe this is just an issue with ImageAdornerUi as other UI elements such as the Insert Hyperlink and Font dialogs also fail to appear.

Are you able to shed any light on what I'm doing wrong here please?

Many thanks

John

Tanya
Telerik team
 answered on 29 Oct 2020
2 answers
175 views

This is a small issue and it might just be my issue with a rouge style somewhere. 

If I add a 'RadRibbonDropDownButton', that has a RadGlyph as it's image then letters with descenders like 'g' and 'j' get their tails cropped ever so slightly. 

It doesn't happen with the 'RadRibbonSplitButton' and I have not tired other themes.  It's a very minor issue but it does catch the eye when you are reading buttons on the ribbon. 

Screenshots attached of the issue and zoomed in 400% , notice the tails j and g's of the dropdown button on the right. 

Thanks,

Richard

 

Richard
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 29 Oct 2020
2 answers
255 views

When pasting formatted text to RadRichTextBox the Paste Options popup appears, allowing you to choose if you want to keep formatting/style or not.

 

That part is fine.

 

However...

When I'm opening the Past Options (clicking on Ctrl dropdown) and after open some other applications over RichTextBox, I see that the Past Options popup remains on top of it.

Is there any property like ShouldCloseFilteringPopupOnKeyboardFocusChanged, which I can use to close Past Options when the focus changed to another window?

---

 

From the image it's visible that Past Options popup (WPF) is appearing over browser page.

Arsen
Top achievements
Rank 1
Veteran
 answered on 29 Oct 2020
5 answers
195 views

Dear telerik developers,
I have encountered a weird behavior in your RadGridView for wpf control. Whan SelectionMode is set to Extended and SelectionUnit is set to Cell, you have the feature to select many contiguous cells in drag-ish way (you click with the left button on a cell and drag over to another cell to have a square selection). The problem arises when you start dragging on a cell and move the mouse pointer over the header of the column: what you see is that all the upper cells get selected when the pointer get over every single them but when you reach the header the rows of the grid start scrolling down the view, as shown in the attached file. It happens also if you get over the group panel. You have to scroll with the mouse wheel to see the columns again if they went out of sight and when you resize the window the rows get back in the correct position.
Thanks

Warmest,
Nazario

 

Dinko | Tech Support Engineer
Telerik team
 answered on 28 Oct 2020
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
PersistenceFramework
DataPager
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
ProgressBar
Sparkline
LayoutControl
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
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?