Jump to: navigation, search

Difference between revisions of "AddChildCommand"


(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...")
 
(No difference)

Latest revision as of 06:54, 8 February 2021

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>