mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2025-02-05 19:36:22 +01:00
Added minor tooltip for exclusive column
This commit is contained in:
parent
6c17f34b3c
commit
56c4a1143e
@ -63,7 +63,8 @@
|
|||||||
<GridViewColumn.CellTemplate>
|
<GridViewColumn.CellTemplate>
|
||||||
<DataTemplate>
|
<DataTemplate>
|
||||||
<StackPanel Width="{Binding ElementName=exclusiveColumn, Path=Width}">
|
<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>
|
</StackPanel>
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</GridViewColumn.CellTemplate>
|
</GridViewColumn.CellTemplate>
|
||||||
|
@ -303,6 +303,16 @@ namespace DS4WinWPF.DS4Forms.ViewModels
|
|||||||
get => $"{device.DisplayName} ({device.MacAddress})";
|
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 delegate void CustomColorHandler(CompositeDeviceModel sender);
|
||||||
public event CustomColorHandler RequestColorPicker;
|
public event CustomColorHandler RequestColorPicker;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user