Telerik Forums
UI for WPF Forum
2 answers
565 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
329 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
84 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
222 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
166 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
244 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
188 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
3 answers
132 views

As the title describes, I have a user control with a RadDocking element, then a RadDocking.DocumentHost.

Any element inside the DocumentHost is not selectable in the designer, also the outline view only shows elements until the RadDocking element not the DocumentHost inside it.

If I don't use the DocumentHost  and place RadSplitContainer directly in the RadDocking selecting and outline is working as expected.

 

I use the last version I have access to: Version 2018.1.430

 

Vladimir Stoyanov
Telerik team
 answered on 28 Oct 2020
9 answers
346 views

Hello

How can I implement the following behaviour?

When a user clicks the header of a radpane with the mouse wheel then the radpane should close.

(same behaviour when you click a tabheader in Internet Explorer)

Thanks!

Victor
Top achievements
Rank 1
 answered on 27 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
Slider
Expander
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
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
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?