Telerik Forums
UI for WPF Forum
3 answers
284 views

Hi,

How can I use the ExportToImage extension with define the size (Width and Height) of the image. I do not wish to change the size of my framework element (RadCartesianChart ) in so that the image generated will be bigger in size.

This is the line of code to export to image:

                Telerik.Windows.Media.Imaging.ExportExtensions.ExportToImage(CartesianChart, Path.GetFullPath(fileName), new PngBitmapEncoder());

Thanks in advanced.

Regards,

CS

Vladimir Stoyanov
Telerik team
 answered on 03 Jan 2018
0 answers
120 views

When call Layout  with  SugiyamaSettings ,I wish to display the shapes from right to left ,root node dock at the right side

 

SugiyamaSettings settings = new SugiyamaSettings()
            {
                VerticalDistance = 10d,
                HorizontalDistance = 5d,
                IgnoreInvisible = true,
                ComponentsGridWidth = transDiagram.ActualWidth,
                Orientation = Telerik.Windows.Diagrams.Core.Orientation.Vertical,

            };
            transDiagram.Layout(layoutType, settings);

how to do?

rui
Top achievements
Rank 1
 asked on 03 Jan 2018
1 answer
165 views
Is there a sample code available where I can convert a grid that contains several charts and print them to PDF in landscape format?  Thanks.
Stefan
Telerik team
 answered on 03 Jan 2018
2 answers
142 views

when I copy multi lines and paste into column filtering textbox, 
grid just filter the first line and omit the other lines.

for example, I wanna filter the following lines:

"Ali
Vahid"

grid just filter Ali.

there is any way to filter multi lines?
Thanks.

Dinko | Tech Support Engineer
Telerik team
 answered on 02 Jan 2018
2 answers
510 views
Hello Guys, im new with Telerik and i missed a little with a SuspendMousePromotionUntilTouchUp.


What exactly do SuspendMousePromotionUntilTouchUp?

I really appreciate with some simple example of usage please.
Vladimir Stoyanov
Telerik team
 answered on 02 Jan 2018
1 answer
189 views

Hello,

I have a RadGridView that groups its items by an ID.  There is some filtering done that results in some of the groups only having one row in them.  I am struggling to find a way to hide or filter out the groups that only have one item in them.  Thank you for any suggestions or help.

Stefan
Telerik team
 answered on 02 Jan 2018
1 answer
164 views

Dear Sirs,

I'm working with RadVirtualGrid using DataProvider. I would like to position the filter icons in the header.
You'll find attached an image of what I have now.

 

Thanks in advance,

Stefan
Telerik team
 answered on 02 Jan 2018
3 answers
199 views

I'm converting from 2011.3.1116.35 to 2017-3-913.40.  This works in the old version but not in the new version.

My RadGridView is bound to an ObservableCollection named DrugList, however the ComboBoxColumn is bound to a different ObservableCollection named BrandGenericCodeList.  I'm trying to do the binding in XAML:

<UserControl x:Class="MyApp.ucDrug"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:telerikData="clr-namespace:Telerik.Windows.Data;assembly=Telerik.Windows.Data" 
             xmlns:telerikGrid="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
...
                <telerikGrid:RadGridView x:Name="radGridView"
                                         Grid.Row="1"
                                         AutoGenerateColumns="False"
                                         CanUserDeleteRows="True"
                                         IsSynchronizedWithCurrentItem="True"
                                         ItemsSource="{Binding DrugList}"
                                         ShowColumnFooters="True"
                                         Deleting="radGridView_Deleting"
                                         RowValidating="radGridView_RowValidating"
                                         SelectionChanged="radGridView_SelectionChanged">
                    <telerikGrid:RadGridView.Columns>
                        <telerikGrid:GridViewDataColumn Header="Name" DataMemberBinding="{Binding DrugName}" />
                        <telerikGrid:GridViewComboBoxColumn Header="Brand/Generic"
                                                            DataMemberBinding="{Binding BrandGenericCode}"
                                                            DisplayMemberPath="Value"
                                                            IsLightweightModeEnabled="True"
                                                            ItemsSource="{Binding BrandGenericCodeList}"
                                                            SelectedValueMemberPath="Name"
                                                            UniqueName="BGC" />

 

Any help is appreciated.  Thank you.

Wellpartner
Top achievements
Rank 1
 answered on 29 Dec 2017
6 answers
154 views
I was wondering if anyone has any sample code that shows how to properly invoke RadSpellChecker (without using codebehind, but proper MVVM methodology) on a TextBox when a user is submits a form for persistence. Also, if the user dismisses the spell checker while there are still misspelled words, a notification alert box should pop-up allowing the user to either continue (with "misspellings" not corrected) or cancel and allow the submit action to cancel itself. I don't see how RadSpellChecker allows for the ability to determine if the user has left behind any non-corrected words. My guess is that the DocumentSpellChecker must somehow be put to use, but I'm hoping to minimize complexity. Thanks for any assistance in advance.
Bruce
Top achievements
Rank 2
 answered on 29 Dec 2017
11 answers
293 views
Hi telerik,

Currently I do as below, which I thought was the way to do it. It has no effect on drag-cursor. What is your recommendation?
Thanks,

Anders, Denmark
        public void OnDragOver(object sender, DragEventArgs args)
        {
...
            if ( [disallow drag] )
            {
                args.Effects = DragDropEffects.None;
            }
            args.Handled = true;
        }
Vladimir Stoyanov
Telerik team
 answered on 29 Dec 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?