Telerik Forums
UI for WPF Forum
1 answer
85 views


Hi everyone, I´m working with the WPF controls, but I've encontered a problem using shapes with the RadDiagram, my problem is when I create a New Shape I would like to know its true size because the Diagram show me a Tooltip with the Width and Heigth but when I rectified this Sizes it no seems rigth... I tried to copy and paste a picture of every shape that I test however none of them give me the rigth Width

this is how I have my diagram in XAML

 <telerik:RadDiagram x:Name="diagram" Zoom="1.2" SnapX="10" SnapY="10" KeyboardNavigation.DirectionalNavigation="None" MouseDoubleClick="diagram_MouseDoubleClick" BorderBrush="Black" IsSnapToGridEnabled="True" Loaded="diagram_Loaded" PreviewSelectionChanged="diagram_PreviewSelectionChanged" SelectionChanged="diagram_SelectionChanged" IsSnapToItemsEnabled="True" Margin="5"
                                                ActiveTool="PointerTool"  
                                                IsConnectorsManipulationEnabled="False"
                                                KeyUp="diagram_KeyUp"
                                                IsRotationEnabled="False"
                                                IsZoomEnabled="False"
                                                IsPanEnabled="False"                                                           
                                                AllowCopy="True"
                                                AllowPaste="True"                                                 
                                                AllowDrop="True"/>

Please Help Me...

 
Pavel R. Pavlov
Telerik team
 answered on 09 Sep 2013
1 answer
83 views
I would like move the columns from the top of the grid to inside the group, i.e. where the group header would be. The reason I would like to do this is so that I can customize the column header text based on the group.

I know this might sound a bit crazy but the reason I would like to do this is because I am having to work with a data structure that has the following columns:
 - Group Type, Name, Col1, Col2, ... Col10

So Col1 might be "Make of Car" if the Group Type is "Man" but called "Toy" if the Group Type is "Boy". So the columns headers need to be different for each group.

Is it possible to do this?
Charles
Top achievements
Rank 1
 answered on 09 Sep 2013
1 answer
230 views
I've applied the Office_Blue theme to all TextBox controls.
When the TextBox is disabled, the text appears very transparent and is almost unreadable. I've tried to change the opacity with a trigger, but this doesn't work. Any ideas how to solve that?

Thanks,
Michael

<Style TargetType="{x:Type TextBox}">
   <Setter Property="t:StyleManager.Theme" Value="Office_Blue"  />
   <Style.Triggers>
      <Trigger Property="IsEnabled" Value="False">    
         <Setter Property="TextBox.Foreground" Value="Black" />
         <!--does not work: -->
         <Setter Property="TextBox.Opacity" Value="1" />
      </Trigger>
   </Style.Triggers>
</Style>

Vanya Pavlova
Telerik team
 answered on 09 Sep 2013
9 answers
598 views
I would like to have my first column of my gridview be a hyperlink that I can execute my own code and navigate to a specific part of our application. Can someone tell me how I can acheive this? I am not navigating to a web url, but simply running c# code within the application.

Thanks,
Rod
Vanya Pavlova
Telerik team
 answered on 09 Sep 2013
3 answers
185 views

Following up on the topic raised by Marcelo, I am also investigating the use of the RadTimeLine and RadTimeBar as controls for a video editor.  My goal is to enable both a large scale view of  key frames, over an hour perhaps, and also permit zooming down to a fine grain view of key  frames... at 4 mSec resolution perhaps.

What I observe is that if I define a RadTimeBar like this, with a 10 second period, I can zoom only down to 30 mSec:

<telerik:RadTimeBar x:Name="xRadTimeBar" Grid.Column="1" Grid.ColumnSpan="2" Grid.Row="1"
                            PeriodStart="1/1/2011 00:00:00"
                            PeriodEnd="1/1/2011 00:00:10"
                            VisiblePeriodStart="1/1/2011 00:00:00"
                            VisiblePeriodEnd="1/1/2011 00:00:10"
                            SelectionStart="1/1/2011 00:00:00"
                            SelectionEnd="1/1/2011 00:00:10"
                            IsSnapToIntervalEnabled="True"
                            >
            <telerik:RadTimeBar.Intervals>
                <telerik:MinuteInterval IntervalSpans="1"/>
                <telerik:SecondInterval IntervalSpans="1"/>
                <telerik:MillisecondInterval IntervalSpans="4, 16, 32, 64"/>
            </telerik:RadTimeBar.Intervals>
 
        </telerik:RadTimeBar>


But with a period of 1 second, I can zoom down to 4 mSec:


<telerik:RadTimeBar x:Name="xRadTimeBar" Grid.Column="1" Grid.ColumnSpan="2" Grid.Row="1"
                            PeriodStart="1/1/2011 00:00:00"
                            PeriodEnd="1/1/2011 00:00:01"
                            VisiblePeriodStart="1/1/2011 00:00:00"
                            VisiblePeriodEnd="1/1/2011 00:00:01"
                            SelectionStart="1/1/2011 00:00:00"
                            SelectionEnd="1/1/2011 00:00:01"
                            IsSnapToIntervalEnabled="True"
                            >
            <telerik:RadTimeBar.Intervals>
                <telerik:MinuteInterval IntervalSpans="1"/>
                <telerik:SecondInterval IntervalSpans="1"/>
                <telerik:MillisecondInterval IntervalSpans="4, 16, 32, 64"/>
            </telerik:RadTimeBar.Intervals>
 
       </telerik:RadTimeBar>


Maybe I am not using the control correctly... but if I am, it seem to me that zooming into mSec from a period greater than a few seconds is not supported.  Is that correct?

Changes to the VisiblePeriod values appears to make no difference, the final granularity appears to be tied to the PeriodStart/End values.

Usage advice greatly appreciated!


Thanks,
   Mike
Tsvetie
Telerik team
 answered on 09 Sep 2013
2 answers
248 views
Hi,
I am facing one problem.I am using RowDetailstemplate to show nested data.....working fine..
But when I expand the some other row  it need Collapse previous expanded row.
I want show expanded row one at a time.

Is there any way to achieve the functionality.It is help full if you provide sample solution..............

Thanks and Regards
Naresh Mesineni
Rossen Hristov
Telerik team
 answered on 09 Sep 2013
2 answers
59 views
We are looking at moving from Q1 2012 to Q1 2013 controls.

Our app uses the RibbonView and in the 2012 version, the ribbon does not collapse buttons, only adds a scroll area on the right to get the other ribbon buttons.
In 2013, the buttons are collapsed into their groups, with no scroll bar.

Is there a way to have the 2012 behavior in 2013?

- Lutz
James
Top achievements
Rank 1
 answered on 07 Sep 2013
1 answer
152 views
Hi,
How can i get selected text from pdfviewer? I have opened a pdf file in Text Selection mode. Now i will select some sentence from third and fourth line...
how can i get the whole sentence in C# or VB?
Petya
Telerik team
 answered on 06 Sep 2013
5 answers
168 views
When I call the Layout() method, all nodes are aligned according to the layout settings. I would like to apply this layout logic only to connected nodes. Often, I create several nodes and then start connecting them. It makes sense to align the connected ones and leave my disconnected ones unchanged - until I actually connect them too.

As it is now, all unconnected nodes end up at the root level which is really annoying when you are working with larger trees.
Hristo
Telerik team
 answered on 06 Sep 2013
2 answers
116 views
I have a grid where the first column is "Region"

When I create a new row I want to ensure that the user can specify the value for "Region" only once. After that I want the cell to be readonly. The region is selected from a control which is specified in the CellEditTemplate. The CellTemplate simply contains a TextBlock

The GridViewDataColumn has the IsReadOnlyBinding property bound to a property on the row object called "RegionIsDefined". I set this to true once the region is selected. Unfortunately this does not make the cell readonly (it still has focus and is in edit mode).

How should I inform the view that I have finished selecting the Region with the CellEditTemplate control?
- should I lose focus on the column?
- is there a cell editing ended event I can call?

<telerik:GridViewDataColumn IsReadOnlyBinding="{Binding RegionIsDefined}">
    <telerik:GridViewDataColumn.CellTemplate>
        <DataTemplate>
            <TextBlock Text="{Binding Name}" />
        </DataTemplate>
    </telerik:GridViewDataColumn.CellTemplate>
    <telerik:GridViewDataColumn.CellEditTemplate>
        <DataTemplate>
            <myRegionControl>
...
            </myRegionControl>
        </DataTemplate>
    </telerik:GridViewDataColumn.CellEditTemplate>
</telerik:GridViewDataColumn>


Many thanks


Charles
Top achievements
Rank 1
 answered on 06 Sep 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
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
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?