This is a migrated thread and some comments may be shown as answers.

RadtabMenu overlay

5 Answers 115 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
george
Top achievements
Rank 1
george asked on 28 Jan 2011, 07:50 AM
Hi
I need to place next radtabmenu partially on top of the previous one
May I ask what needs to be done to achieve this effect? thanks

 <telerik:RadTabItem Padding="4 3" x:Name="test" HeaderTemplate="{DynamicResource radTabItemTemplate}" Height="70" />

    <DataTemplate x:Key="radTabItemTemplate">
        <Grid>
            <Image Grid.Column="0" Source="pack://application:,,,/Images;component/images/greenarrow.gif"/>   
            <TextBlock Text="Security" Width="60" VerticalAlignment="Center" />
        </Grid>
    </DataTemplate>

thanks

5 Answers, 1 is accepted

Sort by
0
george
Top achievements
Rank 1
answered on 28 Jan 2011, 07:53 AM
Also
can u please enlighten me on how to binding the title passing from viewmodel
<TextBlock Text="{Binding Names}" Width="60" VerticalAlignment="Center" />

thanks
0
Petar Mladenov
Telerik team
answered on 02 Feb 2011, 12:18 PM
Hello george,

Can you show us a picture of the desired effect in order to be more precise on the visual appearance of the RadTabItems. This way we could advice you better.
Please examine the attached project where you can find a usual approach when binding RadTabItems to a ViewModel. Feel free to ask if you need further info.

Best wishes,
Petar Mladenov
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
george
Top achievements
Rank 1
answered on 02 Feb 2011, 11:01 PM
thanks very much for the reply
i couldn't use templates on your demo

please see attachment for detailed pic

i need to be able to change colors and text based on the return value(fact find, appointment) from the db

i used the binding
but only allow bind one unit at a time

please advices
thanks again
George
0
Petar Mladenov
Telerik team
answered on 04 Feb 2011, 03:59 PM
Hi george,

If you want to use a specific property of your Business object to determine a specific color of your TabItem/ (color of a control in the template of the tabItem) you can use a Converters. Please find the attached project and give it a try. Basically, a possible approach to your issue is demonstrated, the Type property of the Business object ( or the ViewModel of the Business object) determines the specific Foreground of the TextBlock inside the Itemtemplate of the RadTabControl. Please feel free to ask if you need further assistance.

Greetings,
Petar Mladenov
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
george
Top achievements
Rank 1
answered on 12 May 2011, 05:45 AM
thanks
Tags
TabControl
Asked by
george
Top achievements
Rank 1
Answers by
george
Top achievements
Rank 1
Petar Mladenov
Telerik team
Share this question
or