Telerik Forums
UI for Silverlight Forum
1 answer
83 views

Hi, In my tile view, Items disappear when I apply style on headers of items.

As
---

 <Window.Resources>
        <Style x:Key="TileViewItemHeaderStyle" TargetType="tileView:TileViewItemHeader">
            <Setter Property="Foreground" Value="Black"/>
            <Setter Property="Background" Value="LightGray" />
        </Style>
        <Style x:Key="TileViewItemCustomStyle" TargetType="telerik:RadTileViewItem">
            <Setter Property="Header" Value="{Binding Title}" />
        </Style>
    </Window.Resources>

----

 <telerik:RadTileView                      
                        ItemsSource="{Binding Tiles}"
                        MinimizedItemsPosition="Bottom"  
                        HeaderStyle="{StaticResource TileViewItemHeaderStyle}" 
                        ItemContainerStyle="{StaticResource TileViewItemCustomStyle}"
                        MaximizedItem="{Binding MaximizedTile, Mode=TwoWay}"
                        PreservePositionWhenMaximized="True"
                        MinimizedColumnWidth="200"
                        MinimizedRowHeight="200">
                    </telerik:RadTileView>

---


However when I remove these lines 

HeaderStyle="{StaticResource TileViewItemHeaderStyle}" 
ItemContainerStyle="{StaticResource TileViewItemCustomStyle}"

 

Tiles aappear but obviously without custom 

Martin Ivanov
Telerik team
 answered on 08 Dec 2020
8 answers
91 views
Hi all,

Is there a way to set a banner aboce the radtileviewitems ? In this banner i have to add the logo of the company and a title.

I know that there are headers for eacht tileviewitem, but that's not what i'm loooking for.
I really need an mainbar above all the items. I tried using border and rectangle but i can't get it right...

Any help ?

Kind regards,

Gertjan
Anisa
Top achievements
Rank 1
 answered on 22 Sep 2020
5 answers
134 views

Hi

Is it possible to scroll the TileView per item when I drag the vertical scroll bar? With many items per pixel scrolling is very slow.
If I use the mouse to scroll then the scrolling is per item which is what I want.

Regards.

Dinko | Tech Support Engineer
Telerik team
 answered on 07 Apr 2017
11 answers
286 views

Hello,

We have a TileView and GridView on the UI side by side bound to the same collection inside a ViewModel using a QueryableCollectionView, which is sourced by an ObservableCollection<MyGridData>. When the GridView is filtered, sorted, items are added/removed, etc the TileView works and updates perfectly. Our only issue is when the GridView is grouped, the underlying class of the inside the QueryableCollectionView changes from MyGridData to a new Grouping Class, which the TileView templates do not know how to render. This causes the count of TileView items to match the number of groupings, and the TileView icons themselves to be blank.

How do you recommend binding these two controls to allow the GridView to group and still hand back MyGridData in the grouped order?

Thank you,

Patrick

Patrick
Top achievements
Rank 1
 answered on 09 Jan 2017
2 answers
74 views

Hello,

What is the best way to get the full collection of bound items in the current order as they appear as RadTileViewItems? The ObservableCollection order does not update after dragging. Perhaps we are missing something obvious.

Some notes on our use of RadTileView:

  -We use a RadFluidContentControl in a datatemplate as the RadTileView's 'ContentTemplate'

  -RadTileView.ItemsSource is set to an ObservableCollection, adds and removes work great.

  -Virtualization is on, sometimes we have hundreds of items.

We've almost got what we needed using RadTileView.ItemContainerGenerator.ContainerFromIndex(i) in a for loop and examining the Position property of the RadTileViewItem, but this only provides a small subset of the collection because of the virtualization.

Please advise, thank you,

Patrick

Patrick
Top achievements
Rank 1
 answered on 31 May 2016
5 answers
86 views
Hi,
I designed a form in a tileview content item which customers can send emails to the head office. How can I get the items within the content of tileview? I mean get a textbox value!

Thanks,
Kamal
Milena
Telerik team
 answered on 08 Jan 2016
2 answers
34 views
Hi,

I am using RadTileView control. I have requirement to set Maximized Tile width. For example i have three tile and one tile is maximized then I want to set the width of maximized tile from code behind according to percentage set by user. The other tile should fit accordingly. I do not want to break ColumnsCount, till the width of maximized tile is set to 100%.

Please help if it possible.
Martin Ivanov
Telerik team
 answered on 10 Nov 2015
10 answers
93 views

Problem summary: code-behind positioning is ignored if some tiles are collapsed unless a delay is introduced.

I have 12 tiles in 2 columns, all in restored state.

When all have their visibility set to visible I can set the position in the constructor of the hosting usercontrol and it works.

However if some of the tiles are collapsed, then the positioning is ignored (it seems) unless I introduce a delay of about 1/2 sec.

I tried putting the positioning code in the usercontrol loaded event, and even in the tileview loaded event, with no improvement.

 It seems that if tiles with a position prior the ones being positioned are collapsed the problem occurs.

 I noticed that if the position of the 12 tiles are defined in xaml as  0,1,2,3,4,5,6,7,8,9,10,11, that is, in order, then when tiles 2..6 are set to collapsed then the position order at run time is 0,1,2,2,2,2,2,2,3,4,5,6.  So the collapsed tiles all have a position of 2, and tile 7 has a position of 2, 8-3, and so on.

 When I set the position I only position visible tiles, and then with the position index starting with 0 and ending with visible_count-1, like in the 2nd set of position orders above.  I do not set the positions in order of position but rather in ​order of occurrence, that is for example I iterate through the tile list and set the position of item 0 to 3, item 1 to 0, item 2 to 2, and so on.

I have IsItemsAnimationEnabled = False and PreservePositiojnWhenMaximized=True

 I'm giving you all this info because I don't know what is relevant and what is not.  Again, if I introduce a timer delay the tiles position properly.

Martin Ivanov
Telerik team
 answered on 26 Aug 2015
4 answers
69 views

Hi,

How can we enable resizing on the RadTileViewItem? I need to allow users to resize the RadTileViewItem just like the RadWindow control's resizing functionality as described here:

http://docs.telerik.com/devtools/silverlight/controls/radwindow/features/resizing

How can we achieve similar functionality in RadTileViewItem? It will be great if you can produce a sample demonstrating the resizing of RadViewItem by users on the fly.

Thanks,

Arfan Baig

Martin Ivanov
Telerik team
 answered on 16 Jul 2015
2 answers
32 views

Hi,

How can we make RadTileViewItem move to the next row if it can cause horizontal scroll bar in the RadTileView? Actually I have several TileViewItems with different sizes, so if a TileViewItem has big size it causes horizontal scroll bar which doesn't look nice. So ideally I would want this big TileViewItem to move to the next row. Is it possible, any suggestions?

Thanks,

Arfan Baig

Martin Ivanov
Telerik team
 answered on 14 Jul 2015
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?