Hi,
could you please provide a documentation about the available actionContainers and the positions in XAF Blazor?
Best Regards
Alexander
Hi,
could you please provide a documentation about the available actionContainers and the positions in XAF Blazor?
Best Regards
Alexander
Hello Alexander,
Thank you for the clarification. The information you found is correct - the main window has action containers only in the main toolbar. It is not possible to place actions or custom buttons anywhere else. The Security menu is a separate component that does not have action containers.
The main toolbar has the following categories:
C#private static readonly string[] viewActionCategories = new string[] {
nameof(PredefinedCategory.ObjectsCreation),
DialogController.DialogActionContainerName,
"Link",
nameof(PredefinedCategory.Save),
"Close",
nameof(PredefinedCategory.Export),
nameof(PredefinedCategory.UndoRedo),
nameof(PredefinedCategory.Edit),
nameof(PredefinedCategory.RecordEdit),
nameof(PredefinedCategory.RecordsNavigation),
nameof(PredefinedCategory.View),
nameof(PredefinedCategory.Reports),
nameof(PredefinedCategory.Search),
nameof(PredefinedCategory.Filters),
nameof(PredefinedCategory.FullTextSearch),
nameof(PredefinedCategory.Tools),
"Diagnostic",
nameof(PredefinedCategory.Unspecified)
};
Rightmost categories are Diagnostic and Unspecified. To avoid hiding your action to the overflow menu, decrease its AdaptivePriority value in the ActionDesign | Actions node using the Model Editor of your Blazor module or Blazor.Server project.
Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Hello Alexander,
Thank you for contacting us. Currently, ASP.NET Core Blazor Action Containers are not documented. We are going to do it in the future. Can you elaborate on your scenarios to help us with prioritization? In what aspect of Action Containers are you interested in the first place? I am looking forward to hearing from you.
Thanks,
Ilya P
Hi Ilya,
the main goal is to have a dropdown action in the main header (left to the theme-settings-icon).
I've read another ticket that actual it's not possible to customize the xaf blazor template (maybe in 22.x?).
The alternative approach is to create an action and placed in in an action container but I don't know which are actual implemented whos location.
Is the theme-setting-action using an action container? I don't know :/.
If header doesn't provide a container the second approach is to place an action on position 2 on the screenshot. All other actions / search boxes / filters and so on have to be placed to the left.
Best Regards
Alexander
Hi,
I've enabled the security module and another idea is to use the "Security" Container / Category.
However, my custom action isn't shown here. Any ideas?