featL add skill component
This commit is contained in:
28
Client/Application/Views/SkillPanel.xaml
Normal file
28
Client/Application/Views/SkillPanel.xaml
Normal file
@@ -0,0 +1,28 @@
|
||||
<ItemsControl x:Class="Client.Application.Views.SkillPanel"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:local="clr-namespace:Client.Application.Views"
|
||||
xmlns:components="clr-namespace:Client.Application.Components"
|
||||
mc:Ignorable="d">
|
||||
<ItemsControl.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<components:Skill
|
||||
ImageSource="{Binding Path=IconName,Mode=OneWay}"
|
||||
IsReadyToUse="{Binding Path=IsReadyToUse,Mode=OneWay}"
|
||||
IsActive="{Binding Path=IsActive,Mode=OneWay}"
|
||||
SkillName="{Binding Path=Name,Mode=OneWay}"
|
||||
Level="{Binding Path=Level,Mode=OneWay}"
|
||||
Cost="{Binding Path=Cost,Mode=OneWay}"
|
||||
Range="{Binding Path=Range,Mode=OneWay}"
|
||||
Description="{Binding Path=Description,Mode=OneWay}"
|
||||
/>
|
||||
</DataTemplate>
|
||||
</ItemsControl.ItemTemplate>
|
||||
<ItemsControl.ItemsPanel>
|
||||
<ItemsPanelTemplate>
|
||||
<WrapPanel/>
|
||||
</ItemsPanelTemplate>
|
||||
</ItemsControl.ItemsPanel>
|
||||
</ItemsControl>
|
Reference in New Issue
Block a user