зеркало из https://github.com/xamarin/mac-samples.git
3c0a72ae06 | ||
---|---|---|
.. | ||
Screenshots | ||
AppDelegate.cs | ||
Cocoa-Mono-icns.icns | ||
DockAppIcon.csproj | ||
DockAppIcon.sln | ||
Info.plist | ||
Main.cs | ||
MainMenu.xib | ||
MainMenu.xib.designer.cs | ||
MainWindow.cs | ||
MainWindow.xib | ||
MainWindow.xib.designer.cs | ||
MainWindowController.cs | ||
Metadata.xml | ||
README.md |
README.md
name | description | page_type | languages | products | urlFragment | ||
---|---|---|---|---|---|---|---|
Xamarin.Mac - DockAppIcon | Shows the use of the NSDockTile. Adding a badge to the icon in the Dock provides a setting to add a custom format. Manipulating the Application... | sample |
|
|
dockappicon |
DockAppIcon
Shows the use of the NSDockTile
.
- Adding a badge to the icon in the Dock provides a setting to add a custom format.
- Manipulating the Application Badge.
- Getting the users attention: Informational and Critical.
Prerequisites
- Mac computer with the latest version of macOS.
- Visual Studio for Mac.
- Latest version of Xcode from Apple.
Running the sample
To see the request for attention:
- Use the Request Button.
- Move away from this application by activating another application within 3 seconds.
- The requests only work if the requesting application is not the active application.