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

[Solved] RadDataBoundListBox style for checkbox

2 Answers 57 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Matthew
Top achievements
Rank 1
Matthew asked on 21 Oct 2014, 08:29 AM
Hi Apologies if this is not the best place for my question, looking at the other topics I could not see a better place to ask it.

I have a RadDataBoundListBox;

<telerikPrimitives:RadDataBoundListBox x:Name="boundThumbGrid"
            ItemsSource="{Binding Items}" DataVirtualizationMode="OnDemandAutomatic"
            AsyncBalanceMode="FillViewportFirst" IsAsyncBalanceEnabled="True" 
            IsCheckModeActive="True" IsCheckModeEnabled="True"
            ItemTemplate="{StaticResource StackModeDataTemplateVertical}">
    <telerikPrimitives:RadDataBoundListBox.VirtualizationStrategyDefinition>
        <telerikPrimitives:WrapVirtualizationStrategyDefinition Orientation="Horizontal" />
    </telerikPrimitives:RadDataBoundListBox.VirtualizationStrategyDefinition>
</telerikPrimitives:RadDataBoundListBox>

It all works just grteat, but the checkbox is the default size, which is too small. I want to double the size of the checkbox and the tick and also add some margin so it is not stuck right in the top left. 

I know I need to use the template. When I select "Edit Template" and "Edit a copy" it does not create a checkbox element.

I'm using VS2012 Express for windows phone.

Any help would be appreciated.

Cheers
Matt

2 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 24 Oct 2014, 06:35 AM
Hi Matthew,

Please find attached a project with a custom style of the ItemCheckBox control.

I hope this helps.Let us know if you have further questions.

Regards,
Dimitrina
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Matthew
Top achievements
Rank 1
answered on 26 Oct 2014, 02:08 AM
Hi Dimitrina

Thanks for the post. This solved my issue and was also a lot less markup then what I was trying.

Cheers
Matt
Tags
General Discussions
Asked by
Matthew
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Matthew
Top achievements
Rank 1
Share this question
or