Is there any sort of property on the tile that can prevent the tile from moving?
My tiles Position property is bound to a property in the entity the tile represents. I have tried putting logic in the property set to prevent changes if the position is 0, but that is preventing ANY of the tiles from changing position
<Style TargetType="{x:Type telerik:RadTileViewItem}">
<Setter Property="Position" Value="{Binding Path=DisplayIndex, Mode=TwoWay}" />
</Style>
public int DisplayIndex
{
get { return DisplayIndex; }
set
{
if (m_DisplayIndex !=0 && value != DisplayIndex && value > 0)
{
m_DisplayIndex = value;
}
NotifyPropertyChanged("DisplayIndex");
}
}
Any ideas or insight? thanks!