Telerik Forums
UI for WPF Forum
3 answers
174 views
Hello, Im trying this product to see if it's the right one for my project.

I've copied one of your swimlane projects and now I wonder if its possible to add a timeline in box 2 in the picture, that resizes after the top swimlane. You should be able to pick start and end date, could be hours, days or years.

In box 1 I would like to add different phases that would depend on box 2s timerange. One phase could be 1 month and another could be 4 months and they should get the proper size after how long the phase is.

My plan is to use a treeview and draganddrop items from there over to the swimlanes, would that be possible?

Thanks in advance,
Martin Ivanov
Telerik team
 answered on 09 Sep 2014
3 answers
237 views
Hi,

i'm looking for a way to hide the RadDocumentPane headers within the document host under certain conditions.
e.g. for applications that only contain a single document.
I tried to set the 'RadDocumentPane.PaneHeaderVisibilityProperty' to 'Collapsed' in this case, but without any effects.

Is there any way to control the visibility of the RadDocument-Host's title bar ?
Kalin
Telerik team
 answered on 09 Sep 2014
6 answers
180 views
Hi,

When the RadPanes detach from the RadDocking, it comes up with a visual appearience with two headers as shown in the image. How can I remove the upper header and the whole frame the pane is in?

Thanks
Afife Betül
Top achievements
Rank 1
 answered on 09 Sep 2014
1 answer
137 views
Hi,
im trying to save my text as .pdf and .docx but I cant because it's an 'unsupported file format'. There are no exceptions or anything like that and I also added the Telerik.Windows.Documents.FormatProviders.Pdf...etc. references but still there isn't the option to save as .pdf or .docx. But I can save as .html or .rtf.


<telerik:RadRibbonBackstage >
<telerik:RadRibbonBackstageItem Header="Neu" Icon="pack://application:,,,/Telerik.Windows.Controls.RichTextBoxUI;component/Images/MSOffice/16/new.png" IsSelectable="false" telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding Path=NewDocumentCommand}" />
<telerik:RadRibbonBackstageItem Header="Öffnen" Icon="pack://application:,,,/Telerik.Windows.Controls.RichTextBoxUI;component/Images/MSOffice/16/open.png" IsSelectable="false" telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding Path=OpenDocumentCommand}" />
<telerik:RadRibbonBackstageItem Header="Speichern" Icon="pack://application:,,,/Telerik.Windows.Controls.RichTextBoxUI;component/Images/MSOffice/16/save.png" IsSelectable="false" telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding Path=SaveCommand}" />
<telerik:RadRibbonBackstageItem Header="Speichern als" Icon="pack://application:,,,/Telerik.Windows.Controls.RichTextBoxUI;component/Images/MSOffice/16/saveas.png" IsDefault="false">
<StackPanel HorizontalAlignment="Stretch" Margin="20,20,0,0">
<TextBlock FontFamily="Verdana" FontSize="18" FontWeight="ExtraBold" Foreground="#FF5E5E7C" Text="Speichern als" />
<Rectangle Fill="Gray" Height="1" HorizontalAlignment="Left" Width="410" />
<StackPanel Margin="0,30,0,0" Orientation="Horizontal">
<telerik:RadRibbonButton BorderBrush="Gray" CommandParameter="docx" CornerRadius="3" Height="80" telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding Path=SaveCommand}" telerik:RadRichTextBoxRibbonUI.ShouldCloseBackstage="true" Width="90">
<StackPanel Width="90">
<Image HorizontalAlignment="Center" Source="pack://application:,,,/Telerik.Windows.Controls.RichTextBoxUI;component/Images/MSOffice/ApplicationMenu/worddoc.png" Stretch="None" />
</StackPanel>
</telerik:RadRibbonButton>
<StackPanel Margin="20,0,0,0">
<TextBlock FontSize="18" FontWeight="ExtraBold" Foreground="#FF5E5E7C" Text="Word Dokument" />
<TextBlock FontFamily="Verdana" FontSize="13" Text="Datei als Word Dokument speichern." TextWrapping="Wrap" Width="300" />
</StackPanel>
</StackPanel>
<StackPanel Margin="0,30,0,0" Orientation="Horizontal">
<telerik:RadRibbonButton BorderBrush="Gray" CommandParameter="pdf" CornerRadius="3" Height="80" telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding Path=SaveCommand}" telerik:RadRichTextBoxRibbonUI.ShouldCloseBackstage="true" Width="90">
<StackPanel Width="90">
<Image HorizontalAlignment="Center" Source="pack://application:,,,/Telerik.Windows.Controls.RichTextBoxUI;component/Images/MSOffice/ApplicationMenu/Pdf.png" Stretch="None" />
</StackPanel>
</telerik:RadRibbonButton>
<StackPanel Margin="20,0,0,0">
<TextBlock FontSize="18" FontWeight="ExtraBold" Foreground="#FF5E5E7C" Text="PDF Dokument" />
<TextBlock FontFamily="Verdana" FontSize="13" Text="Datei als PDF speichern." TextWrapping="Wrap" Width="300" />
</StackPanel>
</StackPanel>
<StackPanel Margin="0,30,0,0" Orientation="Horizontal">
<telerik:RadRibbonButton BorderBrush="Gray" CommandParameter="html" CornerRadius="3" Height="80" telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding Path=SaveCommand}" telerik:RadRichTextBoxRibbonUI.ShouldCloseBackstage="true" Width="90">
<StackPanel Width="90">
<Image HorizontalAlignment="Center" Source="pack://application:,,,/Telerik.Windows.Controls.RichTextBoxUI;component/Images/MSOffice/ApplicationMenu/html.png" Stretch="None" />
</StackPanel>
</telerik:RadRibbonButton>
<StackPanel Margin="20,0,0,0">
<TextBlock FontSize="18" FontWeight="ExtraBold" Foreground="#FF5E5E7C" Text="HTML Dokument" />
<TextBlock FontFamily="Verdana" FontSize="13" Text="Datei als HTML Dokument speichern." TextWrapping="Wrap" Width="300" />
</StackPanel>
</StackPanel>
<StackPanel Margin="0,30,0,0" Orientation="Horizontal">
<telerik:RadRibbonButton BorderBrush="Gray" CommandParameter="rtf" CornerRadius="3" Height="80" telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding Path=SaveCommand}" telerik:RadRichTextBoxRibbonUI.ShouldCloseBackstage="true" Width="90">
<StackPanel Width="90">
<Image HorizontalAlignment="Center" Source="pack://application:,,,/Telerik.Windows.Controls.RichTextBoxUI;component/Images/MSOffice/ApplicationMenu/Rtf.png" Stretch="None" />
</StackPanel>
</telerik:RadRibbonButton>
<StackPanel Margin="20,0,0,0">
<TextBlock FontSize="18" FontWeight="ExtraBold" Foreground="#FF5E5E7C" Text="Rich Text Format" />
<TextBlock FontFamily="Verdana" FontSize="13" Text="Dokument in Rich Text Format speichern." TextWrapping="Wrap" Width="300" />
</StackPanel>
</StackPanel>
<StackPanel Margin="0,30,0,0" Orientation="Horizontal">
<telerik:RadRibbonButton BorderBrush="Gray" CommandParameter="txt" CornerRadius="3" Height="80" telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding Path=SaveCommand}" telerik:RadRichTextBoxRibbonUI.ShouldCloseBackstage="true" Width="90">
<StackPanel Width="90">
<Image HorizontalAlignment="Center" Source="pack://application:,,,/Telerik.Windows.Controls.RichTextBoxUI;component/Images/MSOffice/ApplicationMenu/PlainText.png" Stretch="None" />
</StackPanel>
</telerik:RadRibbonButton>
<StackPanel Margin="20,0,0,0">
<TextBlock FontSize="18" FontWeight="ExtraBold" Foreground="#FF5E5E7C" Text="Einfacher Text" />
<TextBlock FontFamily="Verdana" FontSize="13" Text="Dokument als einfachen Text speichern." TextWrapping="Wrap" Width="300" />
</StackPanel>
</StackPanel>
</StackPanel>
</telerik:RadRibbonBackstageItem>
<telerik:RadRibbonBackstageItem Header="Print" Icon="pack://application:,,,/Telerik.Windows.Controls.RichTextBoxUI;component/Images/MSOffice/16/print.png" IsDefault="true">
<StackPanel HorizontalAlignment="Stretch" Margin="20,20,0,0">
<TextBlock FontFamily="Verdana" FontSize="18" FontWeight="ExtraBold" Foreground="#FF5E5E7C" Text="Drucken" />
<Rectangle Fill="Gray" Height="1" HorizontalAlignment="Left" Width="410" />
<StackPanel Margin="0,30,0,0" Orientation="Horizontal">
<telerik:RadRibbonButton BorderBrush="Gray" CommandParameter="Native" CornerRadius="3" Height="80" telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding Path=PrintCommand}" telerik:RadRichTextBoxRibbonUI.ShouldCloseBackstage="true" Width="90">
<StackPanel Width="90">
<Image HorizontalAlignment="Center" Source="pack://application:,,,/Telerik.Windows.Controls.RichTextBoxUI;component/Images/MSOffice/ApplicationMenu/pagesetup.png" Stretch="None" />
</StackPanel>
</telerik:RadRibbonButton>
<StackPanel Margin="20,0,0,0">
<TextBlock FontSize="18" FontWeight="ExtraBold" Foreground="#FF5E5E7C" Text="Direkter Druck" />
<TextBlock FontFamily="Verdana" FontSize="13" Text="Sendet das Dokument direkt an den standart Drucker ohne änderungen." TextWrapping="Wrap" Width="300" />
</StackPanel>
</StackPanel>
</StackPanel>
</telerik:RadRibbonBackstageItem>
</telerik:RadRibbonBackstage>

thank you in advance!

Dennis
Petya
Telerik team
 answered on 08 Sep 2014
1 answer
141 views
I derived out my class based on SerializableGraphSourceBase.

When I add shape to diagram using AddNode, and I try to undo, the shape still exists on the diagram.

How do i specify so as to consider the AddNode action for undo redo ?
Milena
Telerik team
 answered on 08 Sep 2014
5 answers
240 views
Hello,
I want to extend the diagram functionality to have a Template, containing a set of write-protected shapes which can be inserted into multiple diagrams.

Is there a way to separate the template shapes (which should be not editable) from the user-added shapes (which are editable)?

Alex
Alexander
Top achievements
Rank 1
 answered on 08 Sep 2014
3 answers
223 views
Hi,

I have a Rad Grid with data columns and one Image column.

for printing the grid, creating the doc by exporting, so, while exporting image column is exporting as path of the Image instead of printing the image.

I am using WPF RAD Grid.

Please provide solution.

Thanks
Raj
Petya
Telerik team
 answered on 08 Sep 2014
2 answers
83 views
Editing a single row by showing a RadWindow with the data of a row on its fields. I want to do that by double clicking a row of RadGridView.

Here is my code snippet for EventHandler when double clicking:

1.private void grdProducts_MouseDoubleClick(object sender, MouseButtonEventArgs e)
2.{
3.  Product product = (sender as "not-sure-what-to-use-here-as-sender") as Product;
4.  ShowProductWindow(product);
5.}


Here is my code snippet for calling the RadWindow:
01.private void ShowProductWindow(Product product)
02.{
03. if (product != null)
04.    {
05.   ProductWindow productWindow = new ProductWindow(product, amazonContext);
06.   productWindow.Closed += ProductWindowClosed;
07.   productWindow.ShowDialog();
08. }
09.}


Can anyone help me to accomplish this? It would be a great help.

Regards,
RPM
Robert Peter
Top achievements
Rank 1
 answered on 08 Sep 2014
1 answer
105 views
It is possible to modify the "Print Settings Dialog" on the RadPrintPreviewDialog
after configuring a print, I would like to be able to save that configuration,
so that the next print is made with the pre-set settings.

Similarly, during the configuration of the GridView component,
when I open the Form with GridView so it includes
the settings previously selected in "Column Header Context Menu".

How can I write and read those parameters?
Dimitrina
Telerik team
 answered on 08 Sep 2014
1 answer
138 views
Hello,
I am working on integrating the RadRichTextBox into our product, the integration went very well up until I hit the FindReplaceDialog. I've tried applying default styles to RadWindow, FIndReplaceDialog, and everything else I can think of but I am unable to change the pop-up header color to match our product's theme. Our product uses Unity and Prism and currently does not use MEF so I am trying to avoid having to create a custom FindReplaceDialog and use the dialog via MEF. Is there any way that I can get a style to apply to the pop-up window? Any advice would be greatly appreciated! Thanks,

Below are some small snippets of the styles I've been attempting to use:

1.<Style x:Key="RadWindowStyleABC" TargetType="{x:Type telerik:RadWindow}">    
2.<Setter Property="Foreground" Value="{StaticResource WindowForeground}"/>    
3.<Setter Property="Background" Value="{StaticResource WindowBackground}"/>

1.<Style TargetType="{x:Type dialogs:FindReplaceDialog}" BasedOn="{StaticResource RadWindowStyleABC}">
2.    <Setter Property="Header" Value="find/replace"/>
3.</Style>
4. 
5.<Style TargetType="{x:Type telerik:RadWindow}" BasedOn="{StaticResource RadWindowStyleABC}"/>

Masha
Telerik team
 answered on 08 Sep 2014
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
SplashScreen
Rating
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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?