Created
March 14, 2018 09:54
-
-
Save ionoy/38a3e525170c1303099d42e7e40b2954 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Attribute can be omitted if method name is exactly `InitializeContent` | |
[ContentInitializer] | |
public void InitializeContent() { | |
Content = new Grid { | |
... | |
}; | |
} |
This is what I want. Feel free to let me test it!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This would work perfectly for me. Then you refresh on saving the file that contains this method? Could it also be a partial cs class file (not reqd but nice2have)?