Telerik Forums
UI for WPF Forum
1 answer
191 views

The cursor doesn't changed when resizing a column.

I don't know, why occurred.

What should I do?

* I am using NoXaml dll file.

  .dll file version is '4.0.30319'.

 

Below my xaml code about RadGridView.

<telerik:RadGridView Grid.Row="1" x:Name="Part_EventListGridView"
                                         AutoGenerateColumns="False" 
                                         VerticalAlignment="Stretch" 
                                         HorizontalAlignment="Stretch" 
                                         ShowColumnFooters="True" 
                                         ShowGroupPanel="False" 
                                         ShowGroupFooters="False" 
                                         ScrollMode="RealTime"                                                  
                                         IsFilteringAllowed="False"
                                         AllowDrop="True"
                                         RowIndicatorVisibility="Collapsed"
                                         >

 

Below my C# code behind.

this.DataContext = ListDataContext;

ctrlEventList.ItemsSource = ListDataContext.EventCollections;

 

Dilyan Traykov
Telerik team
 answered on 16 Jun 2016
1 answer
151 views

Hi,

I would like to

 1-check spell on a string (a sentence in fact)

 2-open spellcheck dialog box only if errors>0 at step #1

 

I can handle the 2nd part=dialogbox and user query ... but likely stupidly, on the first part, I can not find how to test & count errors on a string in code behind :(

 

Any help just for that part would be appreciated,

F

Tanya
Telerik team
 answered on 16 Jun 2016
5 answers
607 views
Hi,

I'm using RadCartesianChart, which has ScatterPointSeries, the series displays a huge number of points (around +60,000). The point template contains a path representing the visual of the point (The template is included in this post)

it takes around 20 seconds just to display the chart, and when I zoom in, the UI freezes for around 10 seconds and what makes it worse is these points are clickable.

Is there any way to display this much of point with good performance? I'm already using these rendering options (SnapsToDevicePixels="False" RenderOptions.BitmapScalingMode="NearestNeighbor")

<telerik:ScatterPointSeries.PointTemplate>
                        <DataTemplate>
                            <Path x:Name="PointMarker" 
                                            Stretch="Fill"
                                            Height="17"
                                            Fill="LightCyan"
                                            Stroke="Gray"
                                            StrokeThickness="1"
                                            Width="17"
                                            DragEnter="OnBasePointDragEnter"
                                            Drop="OnBasePointDrop"
                                            Tag="{Binding DataItem}"
                                            Data="F1 M 6.5,3.5 L 3.5,0.5 0.5,3.5 3.5,6.5 0.5,9.5 3.5,12.5 6.5,9.5 9.5,12.5 12.5,9.5 9.5,6.5 12.5,3.5 9.5,0.5 6.5,3.5 Z" />
                        </DataTemplate>
                    </telerik:ScatterPointSeries.PointTemplate>




Thanks,,

Ahmed






Dinko | Tech Support Engineer
Telerik team
 answered on 16 Jun 2016
3 answers
136 views

Hi,

Lets's say I have a TreeListView as such:

Group #1

     Item 1-1

     Item 1-2

Group #2

     Item 2-1

     Item 2-2

 

I need the user to be able to select one or both items under a Group - but NOT the group itself (there's reasons for it, that I don't need to get into).

How would I do that ?

 

Barry

Barry
Top achievements
Rank 1
 answered on 16 Jun 2016
7 answers
230 views
When I select a node in my diagram, I can see the selection border on top of all nodes. The selected node, however, remains below any nodes placed above it. I want selected nodes to be brought forward. How can this be accomplished?

Thanks

Update
I tried this playing with the SelectionChanged event, but I can't figure out how to use it:

private void diagram_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
    if (e.AddedItems.Count > 0)
    {
        if (e.AddedItems[0] is MyNode)
        {
            // new List<IDiagramItem> { ??? };
            // this.diagram.BringToFront(e.AddedItems); // Shape??
        }
    }
}

Update 2
I also tried the following, but it doesn't work at first. After playing a bit with the nodes, it seems to start working. I believe I have to scroll/zoom a bit first? Looks like a bug to me.

DiagramCommands.BringToFront.Execute(null, this.diagram);
Petar Mladenov
Telerik team
 answered on 16 Jun 2016
1 answer
137 views

I am adding image to the radtreeviewitem from resources programatically using the below code.

"/myAssembley;component/Resources/image1.png"

and the image is displaying successfully. Now i need to add another  image which needs to be displayed next to the first image in the radtreeviewitem.

Is it possible..???If so how to achieve it.?

 

Like the below attached image i need my treeviewitem to display a folder icon and a red square icon in a single treeview item.[

Martin Ivanov
Telerik team
 answered on 16 Jun 2016
1 answer
126 views

I am having a treeview in a usercontrol and am trying to bind the node image .But it only works if i gave the entire full path of the image. Finally i found out if a treeview is inside an usercontrol relative paths wont work. So how can i assign am image to a node which was inside the user control..??/

 

DefaultImageSrc="/MyOtherProject;component/Images/File.png".

the above will work for usercontrol they have mentioned. Can it be explained ..? whats MyOtherProject,component etc.

Note:

My usercontrol was in the same project in which i work.My solution name is TreeView_WPF_Customized and the image was inside the Resources  folder.

How to display the image my scenario..??

Martin Ivanov
Telerik team
 answered on 16 Jun 2016
6 answers
992 views

Hi am adding new tree view items in a rad treeview programatically like below

RadTreeViewItem itm = new RadTreeViewItem();
itm.Header = "Demo";
itm.DefaultImageSrc = "/Resources/8.png";

but the image is not visible in the treeview .It only displays if i gave the full path of my solution .But its not possible for real time.I need to map the images from the resources folder of my project .How to achieve it..??

 

Thanks 

Arshad

Martin Ivanov
Telerik team
 answered on 15 Jun 2016
1 answer
249 views

Hallo everyone,

how about a Property for the DateTimePicker that can switch on(true) / off (false) for writing in null values. In my case, I don't/can't set the InputField to disable but the user should not be allowed to set the date to null. It would be awesome if the Picker sets its own value automatically to the last valid value by loosing the focus. if there is in the beginning no value in the field its automatically set to the date of today.

 

I mean something like the winforms feature:

datePicker.NullDate = ...

Yana
Telerik team
 answered on 15 Jun 2016
5 answers
377 views
Hi

All - I have the need to display PDF, TIFF, and JPG in a WPF app.  I do not know ahead of time which file type the client will choose to display.  Will the Telerik PDF Viewer or Image Editor components help?  If not, which?  I don't need advanced capability, just to display the image, although zoom would be nice.

Thanks
Mark
Petya
Telerik team
 answered on 15 Jun 2016
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
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
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?