Telerik Forums
UI for WPF Forum
2 answers
154 views
Hi everybody,
how can I retrieve the documentposition of a certain Span (not the current where the caret is in). The background is: I need to move the caret to a specific Span when pushing the FastForward / FastRewind button of a microphone to easily dictat in a RadRichTextBox.

Here is what I have yet:

List<NamedPermissionRangeStart> allPermissionRangeStarts = Document.EnumerateChildrenOfType<NamedPermissionRangeStart>().SkipWhile(a => a.Type != "Text").ToList();
            NamedPermissionRangeStart cur = (NamedPermissionRangeStart)Document.CaretPosition.GetCurrentSpanBox().AssociatedSpan.PreviousSibling;
 
            for (int i = 0; i < allPermissionRangeStarts.Count; i++)
            {
                if (allPermissionRangeStarts[i].InternalKey == cur.InternalKey)
                {
                    Document.CaretPosition.MoveToPosition(((Span)allPermissionRangeStarts[i + 1].NextSibling).?????)
                    break;
                }
            }


I hoped to find something that gives me the DocumentPosition where the "???" are.
Is this approach the right one?

Thanks in advance
Jo
JoRoSch
Top achievements
Rank 1
 answered on 08 Jul 2013
3 answers
230 views
How do you hide the header of the expander control, I'm using a checkbox to control it, or how do you change the arrow to be a checkbox.

thanks,

Pablo.
Petar Mladenov
Telerik team
 answered on 08 Jul 2013
7 answers
166 views
Hi Telerik, is it possible to show tree's line in the RadTreeListView like RadTreeView. There is a IsLineEnabled property in RadTreeView, but I can't see it in RadTreeListView.

Thanks,
Cheau
Dimitrina
Telerik team
 answered on 08 Jul 2013
3 answers
144 views
Hello Telerik Team,
I would like to ask you whether it's possible to make auto-hidden panes behave just like in Visual Studio (2010).

By default, when the auto-hidden RadPane is expanded I cannot drag it by clicking on the header and moving the mouse.
First I have to click the pin/unpin button in the RadPane header.

In Visual Studio, when the auto-hidden pane is expanded clicking just once on the pane header and moving mouse allows to drag the pane. Clicking and moving inside the body of the pane just sets focus, does do allow to drag.

As I am just starting out with Rad WPF controls I would like to ask whether replicating this behaviour is possible and if yes could you please demonstrate it on a very simple project? I would be very grateful. If a demonstration is not possible, could you please at least point me in the right direction?

Thank you very much in advance.

Best Regards,
Karol Hrdina
Vladi
Telerik team
 answered on 08 Jul 2013
2 answers
113 views
Is it possible to have more than one indented Column ?

I want to Indent more than one Column at the same structure.
e.g. the main indent Colum with the indent-indicator would be the Article Short Description (Editable), but when the Hirarchy is opened i would also indent the Article-Number Column to give the User a better look at the structure ?

Any Ideas ?

Thilo
Thilo
Top achievements
Rank 1
Iron
 answered on 08 Jul 2013
0 answers
61 views
1 answer
84 views
How can i Set the Width of the RowIndicatorColumn ?

Thanks for an answer.

Thilo
Vanya Pavlova
Telerik team
 answered on 08 Jul 2013
1 answer
112 views
Hello,

I have been given a requirement which involes me displaying a lot of aggregate data - the fields for this will be different depending on what the user has selected to view.

This all displays fine. What I also need to do is optionally exclude (or include) selected items in the grid from the aggregate results.
After a search of the forums and my favourite search engine I understand that row / cell selection is still not possible OOTB? Is there a possible workaround to enable me to select cells? Or any other way to exclude some values from the aggregate results?

Many thanks,
Alex
Rosen Vladimirov
Telerik team
 answered on 08 Jul 2013
4 answers
109 views
Hello,

I have a treeview that initially loaded and populated all nodes. Obivously not good for scaling, so I've moved towards serverSide nodeExpand onDemand. This works nice, but I've noticed my nodeClick isn't firing now.

There is a plus sign on the node, can I not have nodeExpand be fired only when that + is clicked? And if the text/label is clicked have nodeClick fire?

Charles
Top achievements
Rank 1
 answered on 05 Jul 2013
2 answers
113 views
Hi,

I've just started using the RadTileList control, which is great.

Now I have a request to had pagination to the tileList, meaning that instead of scrolling horizontally, I'd have the tiles split up between as many pages as needed, with a navigation system (little dots at the bottom). So I have 2 simple questions on the subject:

- is pagination already available? (I did not see anything looking like it, but I'm still asking, just in case), or is it maybe planed?
- if not, is there a way to drag/drop tiles between 2 radTileLists ? because I can quite easily make up a pagination system on my wn, with each page containing a radtilelist, but then when dragging a tile from one page to another (and so from one radtilelist to another), I get stuck :-(

any ideas?

thanks
Michel
Top achievements
Rank 1
 answered on 05 Jul 2013
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
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
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?