Skip to content

A library of resources to give your desktop app mac look

License

Notifications You must be signed in to change notification settings

iskenxan/MacLook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MacLook

###A library of resources to give your windows desktop app mac app styling

##Setup&Usage

Maclook is a library of XAML resources that can be used to give your Windows Desktop app Mac desktop app look. It's very easy to use. There are three steps to implementing the library to your project:

  1. Add the reference to the MacLook.dll library to your project.<br/ ><br/ >
  2. Clear your MainWindow.xaml content and copy paste the following code:
    <br/ >
     <maclook:MacWindow x:Class="MacLookTest.MainWindow"
       xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
       xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
       xmlns:logic="clr-namespace:MacLook.Logic;assembly=MacLook"
       xmlns:maclook="clr-namespace:MacLook.Controls;assembly=MacLook"
       Title="MainWindow" x:Name="myWindow" Height="450" Width="550">
     </maclook:MacWindow>
     ```<br /><br/ >
    
  3. Add the following code to your App.xaml:

<Application.Resources> <ResourceDictionary.MergedDictionaries> </ResourceDictionary.MergedDictionaries> </Application.Resources> ```

And you're done! The controls will adopt default mac style.

##Additional Info

Below are the control styles that library contains at the moment:

  • MacWindow
    alt tag

  • Button
    alt tag

When you use the button make sure to specify the value of height.

- **Checkbox & Radio button**
![alt tag](https://raw.githubusercontent.com/iskenxan/MacLook/master/readme_gifs/checkbox_radio.gif)

- **ComboBox**
![alt tag](https://raw.githubusercontent.com/iskenxan/MacLook/master/readme_gifs/combo.gif)

- **Menu**
![alt tag](https://raw.githubusercontent.com/iskenxan/MacLook/master/readme_gifs/menu.gif)

- **ProgressBar**
![alt tag](https://raw.githubusercontent.com/iskenxan/MacLook/master/readme_gifs/progress.gif)
When you use the progress bar make sure to specify the value of height.

- **Slider**
![alt tag](https://raw.githubusercontent.com/iskenxan/MacLook/master/readme_gifs/slider.gif)

- **Tab Control**
![alt tag](https://raw.githubusercontent.com/iskenxan/MacLook/master/readme_gifs/tab.gif)
When using Tab Control make sure to set the following property to true on the first TabItem `logic:TabItemPosition.IsFirst` and `logic:TabItemPosition.IsLast` on the last item.

  • TextBox
    alt tag

  • ComboBox
    alt tag

##TroubleShoot&Contribution

Anybody is more than welcome to contribute to this project.If you have any trouble with the repo, use issue reporter on the right or shoot me an email at iskenxan11@gmail.com.

About

A library of resources to give your desktop app mac look

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages