Per Thygesen
Top achievements
Rank 1
Per Thygesen
asked on 30 Oct 2013, 06:58 AM
There really should be be a Click and Command on Tile. Without it you have to go through the hassle of creating a button with a modern flat style ControlTemplate. Or is there another way?
7 Answers, 1 is accepted
0
Accepted
Hello Per,
Maya
Telerik
Currently, Tile does not have Command property, but we will include it as soon as possible so that you can work directly with it without the need of a button. Thanks for the feedback.
Maya
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
dnguyen
Top achievements
Rank 1
answered on 12 May 2014, 12:30 AM
Hi,
I'm interested about a click command on a tile feature.
Do this feature has been implemented in the latest release of WPF Telerik products?
If not, how can i achieve it?
Do i have to handle the "MouseDown" event or create a button as controltemplate and wrap the tile inside?
Thank you,
Kind Regards.
I'm interested about a click command on a tile feature.
Do this feature has been implemented in the latest release of WPF Telerik products?
If not, how can i achieve it?
Do i have to handle the "MouseDown" event or create a button as controltemplate and wrap the tile inside?
Thank you,
Kind Regards.
0
Hello,
I am afraid this feature is still not implemented. The required functionality is logged in our Feedback portal as feature request and it will be implemented in one of the next versions of RadTileList.
As a workaround, I can suggest you to use the MouseDown event.
Regards,
Yoan
Telerik
I am afraid this feature is still not implemented. The required functionality is logged in our Feedback portal as feature request and it will be implemented in one of the next versions of RadTileList.
As a workaround, I can suggest you to use the MouseDown event.
Regards,
Yoan
Telerik
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
0
Sebastien
Top achievements
Rank 1
answered on 16 Jan 2015, 05:08 PM
And what about now ? Is it posibble to use Tiles in TileList as simple buttons ?
Best
Seb
Best
Seb
0
Hello Seb,
I'm afraid that this feature is still not implemented. However the workaround that Yoan has suggested is still a viable one.
Keep in mind that the MouseDownEvent event of the Tile is handled internally and you will need to subscribe to it by setting the handledEventsToo to "true" like so:
On a side note the status of the feature request will change to "Completed", when the feature is implemented.
I hope this helps.
Regards,
Boris
Telerik
I'm afraid that this feature is still not implemented. However the workaround that Yoan has suggested is still a viable one.
Keep in mind that the MouseDownEvent event of the Tile is handled internally and you will need to subscribe to it by setting the handledEventsToo to "true" like so:
public
partial
class
MainWindow : Window
{
public
MainWindow()
{
InitializeComponent();
this
.AddHandler(Tile.MouseDownEvent,
new
MouseButtonEventHandler(OnMouseDownEvent),
true
);
}
private
void
OnMouseDownEvent(
object
sender, MouseEventArgs e)
{
// Your custom logic
}
}
On a side note the status of the feature request will change to "Completed", when the feature is implemented.
I hope this helps.
Regards,
Boris
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
Sebastien
Top achievements
Rank 1
answered on 20 Jan 2015, 10:09 AM
Hi,
ok, I finally installed https://www.nuget.org/packages/Expression.Blend.Sdk/
Then, I can use XAML only syntax and command pattern.
ok, I finally installed https://www.nuget.org/packages/Expression.Blend.Sdk/
Then, I can use XAML only syntax and command pattern.
<
UserControl
xmlns
=
"http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:i
=
"clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
...
<
tk:Tile
>
<
i:Interaction.Triggers
>
<
i:EventTrigger
EventName
=
"MouseLeftButtonDown"
>
<
i:InvokeCommandAction
Command
=
"{Binding Path=MyCommand}"
/>
</
i:EventTrigger
>
</
i:Interaction.Triggers
>
</
tk:Tile
>
</
UserControl
>
0
Hi Seb,
I am glad that you have found a resolution to your issue and shared it with our community.
Regards,
Boris
Telerik
I am glad that you have found a resolution to your issue and shared it with our community.
Regards,
Boris
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.