L2Bot2.0/Client/Application/Views/SkillPanel.xaml
2023-02-01 14:48:59 +04:00

29 lines
1.3 KiB
XML

<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>