RadtabMenu overlay

6 posts, 0 answers
  1. george
    george avatar
    21 posts
    Member since:
    Oct 2010

    Posted 28 Jan 2011 Link to this post

    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
  2. george
    george avatar
    21 posts
    Member since:
    Oct 2010

    Posted 28 Jan 2011 Link to this post

    Also
    can u please enlighten me on how to binding the title passing from viewmodel
    <TextBlock Text="{Binding Names}" Width="60" VerticalAlignment="Center" />

    thanks
  3. UI for WPF is Visual Studio 2017 Ready
  4. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 02 Feb 2011 Link to this post

    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>>
  5. george
    george avatar
    21 posts
    Member since:
    Oct 2010

    Posted 02 Feb 2011 Link to this post

    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
  6. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 04 Feb 2011 Link to this post

    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>>
  7. george
    george avatar
    21 posts
    Member since:
    Oct 2010

    Posted 12 May 2011 Link to this post

    thanks
Back to Top
UI for WPF is Visual Studio 2017 Ready