mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2025-01-27 15:25:30 +01:00
Added minor tooltip for exclusive column
This commit is contained in:
parent
6c17f34b3c
commit
56c4a1143e
@ -63,7 +63,8 @@
|
||||
<GridViewColumn.CellTemplate>
|
||||
<DataTemplate>
|
||||
<StackPanel Width="{Binding ElementName=exclusiveColumn, Path=Width}">
|
||||
<Image Source="{Binding ExclusiveSource}" Stretch="Uniform" Width="20" Height="20" HorizontalAlignment="Center" />
|
||||
<Image Source="{Binding ExclusiveSource}" Stretch="Uniform" Width="20" Height="20" HorizontalAlignment="Center"
|
||||
ToolTip="{Binding IsExclusiveText}" />
|
||||
</StackPanel>
|
||||
</DataTemplate>
|
||||
</GridViewColumn.CellTemplate>
|
||||
|
@ -303,6 +303,16 @@ namespace DS4WinWPF.DS4Forms.ViewModels
|
||||
get => $"{device.DisplayName} ({device.MacAddress})";
|
||||
}
|
||||
|
||||
public string IsExclusiveText
|
||||
{
|
||||
get
|
||||
{
|
||||
string temp = device.isExclusive() ? "Exclusive Access" :
|
||||
"Shared Access";
|
||||
return temp;
|
||||
}
|
||||
}
|
||||
|
||||
public delegate void CustomColorHandler(CompositeDeviceModel sender);
|
||||
public event CustomColorHandler RequestColorPicker;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user