Windows-powershell / PowerShell-master /src /Microsoft.Management.UI.Internal /ShowCommand /Controls /ImageButton /ImageButton.xaml
Download PowerShell-master/src/Microsoft.Management.UI.Internal/ShowCommand/Controls/ImageButton/ImageButton.xaml from MegaBites-AI/Windows-powershell: direct link, hf CLI and curl.
- Browser
- Download file 1.52 kB
-
https://huggingface.co/datasets/MegaBites-AI/Windows-powershell/resolve/main/PowerShell-master/src/Microsoft.Management.UI.Internal/ShowCommand/Controls/ImageButton/ImageButton.xaml
- Command line
-
hf download hf://datasets/MegaBites-AI/Windows-powershell/PowerShell-master/src/Microsoft.Management.UI.Internal/ShowCommand/Controls/ImageButton/ImageButton.xaml
-
curl -L -o ImageButton.xaml https://huggingface.co/datasets/MegaBites-AI/Windows-powershell/resolve/main/PowerShell-master/src/Microsoft.Management.UI.Internal/ShowCommand/Controls/ImageButton/ImageButton.xaml
1.52 kB
| <!--================================================================= | |
| // Copyright (c) Microsoft Corporation. | |
| // Licensed under the MIT License. | |
| ==================================================================--> | |
| <controls:ImageButtonBase x:Class="Microsoft.PowerShell.Commands.ShowCommandInternal.ImageButton" | |
| xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
| xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
| xmlns:controls="clr-namespace:Microsoft.PowerShell.Commands.ShowCommandInternal"> | |
| <Grid HorizontalAlignment="Left" VerticalAlignment="Top"> | |
| <Grid.Resources> | |
| <ResourceDictionary> | |
| <ResourceDictionary.MergedDictionaries> | |
| <ResourceDictionary Source="/Microsoft.PowerShell.GraphicalHost;component/showcommand/controls/imagebutton/imagebuttoncommon.xaml"/> | |
| </ResourceDictionary.MergedDictionaries> | |
| </ResourceDictionary> | |
| </Grid.Resources> | |
| <Grid> | |
| <Button x:Name="innerButton" | |
| Command="{Binding Path=Command, RelativeSource={RelativeSource AncestorType={x:Type controls:ImageButtonBase}}}" | |
| ToolTip="{Binding Converter={StaticResource imageButtonToolTipConverter}, RelativeSource={RelativeSource AncestorType={x:Type controls:ImageButtonBase}}}" | |
| ToolTipService.ShowOnDisabled="True" Style="{StaticResource imageButtonStyle}"> | |
| </Button> | |
| </Grid> | |
| </Grid> | |
| </controls:ImageButtonBase> | |