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

Can book background be made transparent?

3 Answers 41 Views
Book
This is a migrated thread and some comments may be shown as answers.
Blasty
Top achievements
Rank 1
Blasty asked on 16 Apr 2010, 04:09 PM
I'm using .png files for my book pages, but I can't get a transparent background on the page,   Setting the background to transparent leaves me with a white background. 


Also it seems that the book doesn't listen for property changes, trying to bind the rightpageindex to the index of say a corresponding listbox doesn't work.   Or using the MVVM pattern, and binding the rightpageindex to a property that fires notifyproperty change has no effect.  Any help on these two issues?

3 Answers, 1 is accepted

Sort by
0
Accepted
Kiril Stanoev
Telerik team
answered on 19 Apr 2010, 02:01 PM
Hello Blasty,

If your RadBook is bound, you will have to set its ItemContainerStyle property.

<telerikNavigation:RadBook>
    <telerikNavigation:RadBook.ItemContainerStyle>
        <Style TargetType="telerikNavigation:RadBookItem">
            <Setter Property="Background" Value="Transparent" />
            <Setter Property="Opacity" Value="0.5" />
        </Style>
    </telerikNavigation:RadBook.ItemContainerStyle>
</telerikNavigation:RadBook>

I have attached a sample project that also demonstrates how changing the SelectedIndex property of a ListBox affects the RightPageIndex of a RadBook. Also, if your scenario allows it, I'd recommend updating your binaries with our latest internal build since few issues with RadBook have been fixed.

Let me know if I can be of further assistance.

Regards,
Kiril Stanoev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Blasty
Top achievements
Rank 1
answered on 19 Apr 2010, 04:36 PM
interesting, your project works fine,and mine, not so much, gonna try to redo some of the design of my project, I think my issues may be coming from somewhere else.  I'll update this thread with my results, but your demo app worked fine.
0
Blasty
Top achievements
Rank 1
answered on 22 Apr 2010, 09:17 PM
that worked fine.  Seemed to be an issue with using MVVM in silverlight...not sure why at this point.
Tags
Book
Asked by
Blasty
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
Blasty
Top achievements
Rank 1
Share this question
or