Skip to content

App.axaml replacement #427

@CoolCoderSuper

Description

@CoolCoderSuper

Currently you can't define styles or resources in app using the DSL which isn't that big of a deal since it is pretty easy to add manually.
However it is more annoying when I want to have a TrayIcon.

<TrayIcon.Icons>
	<TrayIcons>
		<TrayIcon Icon="Assets/icon.ico">
			<TrayIcon.Menu>
				<NativeMenu>
					<NativeMenuItem Header="Settings"/>
					<NativeMenuItem Header="Start"/>
					<NativeMenuItem Header="Stop"/>
					<NativeMenuItem Header="Import"/>
					<NativeMenuItem Header="Exit"/>
				</NativeMenu>
			</TrayIcon.Menu>
		</TrayIcon>
	</TrayIcons>
</TrayIcon.Icons>

It is pretty easy to use axaml when needed but I think it would be cool.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions