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

styling the popup window of pickerbox

3 Answers 55 Views
PickerBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Nilangini
Top achievements
Rank 1
Nilangini asked on 11 Apr 2012, 02:02 PM
I am not able to find out about how to format the content of the popup window.
I want to change the fonts of the items and also display an image along with each item text.

Can you please give some pointer to a sample code?

Thanks and Regards,
Nilangini

3 Answers, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 12 Apr 2012, 09:51 AM
Hello Nilangini,

Thanks for writing and for your question.

Since you are the one that defines the contents of the window, you can adjust the appearance by setting the corresponding properties in XAML:

<telerikPrimitives:RadPickerBox IsFullScreen="True"
                                      x:Name="formatPicker" >
          <telerikPrimitives:RadPickerBox.PopupContent>
              <Grid Background="{StaticResource PhoneChromeBrush}" FontSize="30" Foreground="Pink">
                 
              </Grid>
          </telerikPrimitives:RadPickerBox.PopupContent>
      </telerikPrimitives:RadPickerBox>
Here, for instance, I put a Grid element in my Window and adjust its Background, FontSize and Foreground properties.

I hope this helps.

Kind regards,
Deyan
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Nilangini
Top achievements
Rank 1
answered on 13 Apr 2012, 12:01 PM
Thank you.
can you also help me setting the forground color of the pickerbox through code as well as XAML?
It must be somethng quite simple, but I am not able to get it work.
Regards,
Nilangini
0
Deyan
Telerik team
answered on 17 Apr 2012, 07:57 AM
Hello Nilangini,

You can again use the PickerButtonStyle property to define the visual appearance of the inline portion of RadPickerBox.

I hope this helps.

Regards,
Deyan
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
PickerBox
Asked by
Nilangini
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Nilangini
Top achievements
Rank 1
Share this question
or