The SplitButton Demo shows how to create a SplitButton with a fixed collection of SplitButtonItems, in that case for "Paste Text", "Paste as HTML", and "Paste Markdown". I need to have a dynamic collection of SplitButtonItems.
A common example of this is the undo split button found in many applications such as Visual Studio or Microsoft Word. Clicking the undo icon undoes one step of actions. Or you can click the dropdown and select a step to go back to. The list of options grows in size and changes, based on user actions.
A common example of this is the undo split button found in many applications such as Visual Studio or Microsoft Word. Clicking the undo icon undoes one step of actions. Or you can click the dropdown and select a step to go back to. The list of options grows in size and changes, based on user actions.