Jump to: navigation, search

AddChildCommand


Revision as of 06:54, 8 February 2021 by CWU (Talk | contribs) (Created page with "Opens a file selection dialog, to add documents under the current object.In the standard case this command does not need any parameters. If the dialog should allow multi file...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Opens a file selection dialog, to add documents under the current object.In the standard case this command does not need any parameters. If the dialog should allow multi file selection, the command should be used as follows:

        <ToolbarItem
           Name="MenuAdd"
           Command="{Binding AddChildCommand}"
           Text="Add">
            <ToolbarItem.CommandParameter>
                <classes:KeyValueList>
                    <classes:KeyValueParameter Key="MultipleChildItems" Value="true" />
                </classes:KeyValueList>
            </ToolbarItem.CommandParameter>
        </ToolbarItem>