Telerik Forums
UI for WPF Forum
4 answers
122 views
I found that the default RadDocking.SaveLayout and LoadLayout functionality was not sufficient for my needs so I created a bunch of custom serializable classes that I populate from the RadDocking control. Initially this worked out for me but then I tested a scenario with a floating pane and could not get access to it. The RadDocking.Items collection only returns docked RadSplitContainers and the RadDocking.ToolWindows collection is a private field so I cannot access it from my code. Is there any way to access the ToolWindows in a RadDocking control so I can serialize them myself? If not would it be possible to get a public readonly property that returns an IEnumerable(Of ToolWindow) from the ToolWindows field? Alternatively, the RadDocking.Items collection would ideally contain the DocumentHost, docked SplitContainers and floating ToolWindows but I doubt that would be easily changed.
Jason
Top achievements
Rank 1
 answered on 02 Dec 2011
3 answers
463 views

Hi,

I would like to know if it's possible to have a RadRichText with a toolbar that containing only 3 buttons, bold, italic and underline. All of these buttons shoud have an impact direct on the text.

I need something like:

 

<

 

Window x:Class="WpfApplication3.Window1"

 

 

 

 

 

 

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

 

 

 

 

 

 

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

 

 

 

 

 

 

xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"

 

 

 

 

 

 

Title="Window1" Height="300" Width="641">

 

 

 

 

 

 

 

<Grid>

 

 

 

 

 

 

 

<Grid.RowDefinitions>

 

 

 

 

 

 

 

<RowDefinition Height="Auto"/>

 

 

 

 

 

 

 

<RowDefinition Height="*"/>

 

 

 

 

 

 

 

<RowDefinition Height="Auto"/>

 

 

 

 

 

 

 

</Grid.RowDefinitions>

 

 

 

 

 

 

 

 

<StackPanel Orientation="Horizontal">

 

 

 

 

 

 

 

<telerik:RadRibbonToggleButton Text="Bold" telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding Path=ToggleBoldCommand}" />

 

 

 

 

 

 

 

<telerik:RadRibbonToggleButton Text="Italic" telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding Path=ToggleItalicCommand}" />

 

 

 

 

 

 

 

<telerik:RadRibbonToggleButton Text="Underline" telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding Path=ToggleUnderlineCommand}" />

 

 

 

</StackPanel>

 

 

 

<telerik:RadRichTextBox Grid.Row="1" x:Name="editor" Margin="24 24 0 0" AllowDrop="True" ShowComments="True" IsSelectionMiniToolBarEnabled="False" IsContextMenuEnabled="False" />

 

 

 

 

 

 

 

<telerik:DocumentRuler AssociatedRichTextBox="{Binding ElementName=editor, Mode=OneTime}" Grid.Row="1" />

 

 

 

 

 

 

 

<telerik:RadRichTextBoxStatusBar Grid.Row="2" AssociatedRichTextBox="{Binding ElementName=editor, Mode=OneTime}" />

 

 

 

 

 

 

 

</Grid>

 

</

 

Window>

 

Iva Toteva
Telerik team
 answered on 02 Dec 2011
1 answer
623 views
Is there a way to get the RadSplitContainter to fill the available space?  I have several split containters and the the last one, I want the RadPane's to fill what space is left.  Thanks.

<telerik:RadDocking  BorderThickness="0" Padding="0" Grid.Row="1" >             
    <telerik:RadSplitContainer Orientation="Horizontal" InitialPosition="DockedBottom">                 
        <telerik:RadPaneGroup >                     
            <telerik:RadPane Header="Development Log" Content="" />                 
        </telerik:RadPaneGroup>             
    </telerik:RadSplitContainer>            
    <telerik:RadSplitContainer Orientation="Horizontal" InitialPosition="DockedLeft" >                 
        <
telerik:RadPaneGroup  telerik:ProportionalStackPanel.RelativeSize="200, 300">                     
            <telerik:RadPane Header="Administration" Content="" IsPinned="True" />                 
        </telerik:RadPaneGroup>             
    </telerik:RadSplitContainer>                
    <telerik:RadSplitContainer Orientation="Horizontal" InitialPosition="DockedRight" MinWidth="300">                 
        <telerik:RadPaneGroup >                     
            <telerik:RadPane Header="Maintenance Plans"  />                 
        </telerik:RadPaneGroup>             
    </telerik:RadSplitContainer>             
    <!--<telerik:RadDocking.DocumentHost >-->
                
        <telerik:RadSplitContainer Orientation="Vertical" InitialPosition="DockedLeft"  MinWidth="200" HorizontalContentAlignment="Stretch" HorizontalAlignment="Stretch">                     
            <telerik:RadPaneGroup  >                         
                <
telerik:RadPane Header="Reference Materials" Content=""  />                     
            </telerik:RadPaneGroup>                     
            <telerik:RadPaneGroup >                         
                <telerik:RadPane Header="Maintenance Items" Content="" />                     
            </
telerik:RadPaneGroup>                 
        </telerik:RadSplitContainer>             
    <!--</telerik:RadDocking.DocumentHost>-->         
</telerik:RadDocking>

Konstantina
Telerik team
 answered on 02 Dec 2011
3 answers
130 views
     Hi,

I hava a problem about RadTreeListView columns. I can show some columns to users in like Hierarchical Data.
everthings is ok. and then i add a coloumn and want to create a textbox put it in last column

  column1      column2     column3
some data   some data    TextBox

---------------------------

  <telerik:RadTreeListView  IsDragDropEnabled="True" IsDragTooltipEnabled="False" x:Name="treeListView" IsFilteringAllowed="False"  
                                  ItemsSource="{Binding TheTree}"  AutoGenerateColumns="False" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="5,120,5,32"
                                  CanUserFreezeColumns="False" CanUserReorderColumns="False" MinHeight="300" MaxHeight="500" RowIndicatorVisibility="Collapsed" >
            <telerik:RadTreeListView.ChildTableDefinitions>
                <telerik:TreeListViewTableDefinition  ItemsSource="{Binding ChildNodes}" />
            </telerik:RadTreeListView.ChildTableDefinitions>
            <telerik:RadTreeListView.Columns>
 
                <telerik:GridViewDataColumn  DataMemberBinding="{Binding Entity.MalKod}" Header="Mal Kodu"  IsReadOnly="True"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Entity.MalAdi}" Header="Mal Adı"  IsReadOnly="True"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Entity.OlcuAd}" Header="Ölçü"  IsReadOnly="True"/>
                
               // i want to add textbox other column.
               //<TextBox Name="textBox1" VerticalAlignment="Top" Width="120" />
               //GIVES ERROR               

            </telerik:RadTreeListView.Columns>
            
               
        </telerik:RadTreeListView>


   How can i do that. Ofcourse i can use gridview but my data is Hierarchical so i have to show like tree


Vera
Telerik team
 answered on 02 Dec 2011
1 answer
139 views
Are there any plans to port the PdfViewer-Control from Silverlight to WPF?
Kammen
Telerik team
 answered on 02 Dec 2011
1 answer
135 views
When using RadTextBox, we can export documents to Pdf. Very good!

But... how about exporting to PDF / A?
Iva Toteva
Telerik team
 answered on 02 Dec 2011
2 answers
94 views
Hello,

the Transparent Theme seems to behave different then the Metro Theme. This behavior changed in Q3. Could you fix this? Thanks.

Greetings,
Ronny
Dimitrina
Telerik team
 answered on 02 Dec 2011
1 answer
96 views
The placement of the docking arrows and toolwindows are wrong when using a vertical taskbar in windows. This is also an issue if the taskbar is placed at the top of your screen. The wpf window hosting the docking control must be in a maximized state. Is this a known issue?

Running Telerik 2011.Q2

Regards
Arnstein
George
Telerik team
 answered on 02 Dec 2011
1 answer
144 views
Hi,

in my application, depending on which rtf document I have, I want to display it into a RadRichTextBox, can you provide me a small demo on how to do it?

Thank's
Iva Toteva
Telerik team
 answered on 02 Dec 2011
1 answer
199 views
I read: "RadTreeMap and RadPivotMap allow for various techniques to be used to assign colors to their generated visuals, allowing you to choose from pre-defined colors, automatically generated gradients, and a variety of other schemes to fit any application scenario."

So I see a lot of possibilities: Palette, Desaturating, Brush, Custom, relative, Absolute...

Nice! But...
Spent some time to find (simple) samples... I found a few. Very thin...
Could you point me to the documentation and some examples?

Yavor
Telerik team
 answered on 02 Dec 2011
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
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?