Telerik Forums
UI for WPF Forum
1 answer
338 views

Hello everyone!

I'm using RadOutlookBar as a region in my Prism application. RadOutlookBarItems are being dynamically loaded to that region as its views. All RadOutlookBarItems are the same:

<telerikNavigation:RadOutlookBarItem x:Name="outlookBarItem">
<telerikNavigation:RadTreeView Name="NavigaionTree" SelectionMode="Single" ItemTemplate="{StaticResource Section}"
ItemsSource="{Binding Path=AppNavigationItems}" 
SelectedItem="{Binding Mode=TwoWay, Path=CurrentAppNavigationItem}"
MouseDoubleClick="NavigaionItemDoubleClick"
MouseDown="NavigaionItemMouseDown"
IsSingleExpandPath="True" 
IsExpandOnSingleClickEnabled="True" 
IsExpandOnDblClickEnabled="False"
IsLineEnabled="True">
<telerikNavigation:RadContextMenu.ContextMenu>
<telerikNavigation:RadContextMenu Name="contextMenu">
<telerikNavigation:RadMenuItem Header="Развернуть" Name="ExpandButton" Click="ExpandButtonClick"/>
<telerikNavigation:RadMenuItem Header="Свернуть" Name="ReduceButton" Click="ReduceButtonClick"/>
<telerikNavigation:RadMenuItem Header="Открыть" Name="NewTabButton" Click="NewTabButtonClick"/>
<telerikNavigation:RadMenuItem Header="Открыть в фоновой вкладке" Name="ShadowTabButton" Click="ShadowTabButtonClick"/>
</telerikNavigation:RadContextMenu>
</telerikNavigation:RadContextMenu.ContextMenu>
<telerikNavigation:RadTreeView.Background>
<SolidColorBrush Color="White"/>
</telerikNavigation:RadTreeView.Background>
</telerikNavigation:RadTreeView>
</telerikNavigation:RadOutlookBarItem>

During runtime I want to manipulte with RadMenuItms in every view:

private void NavigaionItemMouseDown(object sender, MouseButtonEventArgs e)
        {
            if (sender is RadTreeViewItem)
            {
                var treeViewitem = sender as RadTreeViewItem;
                treeViewitem.IsSelected = true;
                e.Handled = true;
                if (treeViewitem.HasItems)
                {
                    this.NewTabButton.Visibility = Visibility.Collapsed;
                    this.ShadowTabButton.Visibility = Visibility.Collapsed;
                    this.ExpandButton.Visibility = Visibility.Visible;
                    this.ReduceButton.Visibility = Visibility.Visible;
                    this.ExpandButton.IsEnabled = !treeViewitem.IsExpanded;
                    this.ReduceButton.IsEnabled = treeViewitem.IsExpanded;
                }
                else
                {
                    this.ExpandButton.Visibility = Visibility.Collapsed;
                    this.ReduceButton.Visibility = Visibility.Collapsed;
                    this.NewTabButton.Visibility = Visibility.Visible;
                    this.ShadowTabButton.Visibility = Visibility.Visible;
                }
            }
        }


public AppNavigationView()
        {
            InitializeComponent();

            EventManager.RegisterClassHandler(typeof(RadTreeViewItem),
                MouseRightButtonDownEvent, new MouseButtonEventHandler(NavigaionItemMouseDown), false);
        }

But unfortunately my logic works well only in the first RadOutlookBarItem. It also works for every other
RadOutlookBarItem, but the result PopUp still consists of 4 items.
Please help me solve this "miracle".
Thank you in advance.
Miro Miroslavov
Telerik team
 answered on 18 Aug 2010
1 answer
133 views
How to set size of radpane when the pane is set to floating from docked pane?
Konstantina
Telerik team
 answered on 18 Aug 2010
1 answer
134 views
Expecially when working with multiple monitors I would like to be able to maximize floating panes to full screen via a double click in the title bar or use Aero Snap.

Can this be done with the Rad Docking control?
George
Telerik team
 answered on 18 Aug 2010
1 answer
122 views

I have tree charts (one bar and two pies) in the screen and I want to export them to one file. It could be in same sheet or different sheets (one by chart). How do this?

Vladimir Milev
Telerik team
 answered on 18 Aug 2010
3 answers
109 views
Hello,

I'd just want to know how I can get the 3 items I marked in the screenshots above from the WPF demo ?

Are they available or should I design it myself ?

Regards,

http://img824.imageshack.us/img824/8665/telerik1.jpg
http://img801.imageshack.us/img801/1433/telerik2.jpg
http://img412.imageshack.us/img412/6292/telerik3.jpg
Grégory
Top achievements
Rank 1
 answered on 18 Aug 2010
11 answers
279 views
The telerik Demo installed on my PC does not work, specifically, the gridView Controls.

Veselin Vasilev
Telerik team
 answered on 18 Aug 2010
1 answer
81 views
Hi,

I need to let a line of my grid visibly.hidden,

how do I do?


Thank You, Alexandre.
Vlad
Telerik team
 answered on 18 Aug 2010
1 answer
91 views
I wish to bind the FontSize and FontFamily of the TextBlock of SeriesItemLabel to a DependencyObject in the code-behind portion of the code. Using styles, I can successfully do this to items like ChartItemLabel, but when I set the same items for SeriesItemLabel, I get binding errors stating how the element can not be found, yet the binding reads the same:

<Setter Property="FontFamily" Value="{Binding ElementName=MyDependencyObject, Path=Backend.LegendFontFamily}"/>

The help section on lists how to retemplate the control, but I don't wish a completely new look, I want to keep the default look; the user should simply be allowed to make it bigger/smaller.

 How should I create bindings for SeriesItemLabel?
Adam Petaccia
Top achievements
Rank 1
 answered on 17 Aug 2010
2 answers
93 views
Using the datePicker inside a Grid in this way

                                            <telerik:GridViewDataColumn
                                                        Header="Termination"
                                                        DataMemberBinding="{Binding TerminationDate}"
                                                        >
                                                <telerik:GridViewDataColumn.CellEditTemplate>
                                                    <DataTemplate>
                                                    <telerik:RadDatePicker SelectedDate="{Binding Path=TerminationDate, Mode=TwoWay}"/>                                                    
                                                    </DataTemplate>
                                                </telerik:GridViewDataColumn.CellEditTemplate>
                                            </telerik:GridViewDataColumn>

I get a 12:00:00 after I select a date and lost focus.

If I use the same control outside, It works ok.
I need to use the radpicker because the user shouldbe able to leave this date empty and with the dateDataColumn that was not possible
Ideas? Is this a bug?
Thx.
Ariel Erlijman
Top achievements
Rank 1
 answered on 17 Aug 2010
3 answers
172 views
Hi,

Can you please help me to know if Telerik provides 3D Surface charts for WPF? If not what is the alternative solution to achieve the 3D Surface charts.

Thanks in Advance

Regards,
NAK
Giuseppe
Telerik team
 answered on 17 Aug 2010
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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
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?