Skip to content
Branch: master
Find file History
Pull request Compare This branch is 10 commits behind lab.
Type Name Latest commit message Commit time
Failed to load latest commit information.
Extensions MasterDetail: Production error when registering MasterDetailSave acti… Aug 11, 2019
Extensions.sln Change namespace to Xpand.XAF instead of DevExpress.XAF Jan 11, 2019 Autogenerate wiki Apr 26, 2019


The Extensions namespace is used for projects that contain static internal extension classes.

There is no package or assembly though as the modules only link the methods they want to use.

For example in the Xpand.Source.Extensions.XAF.Model namespace there is a GetParent method.

using DevExpress.ExpressApp.Model;

namespace Xpand.Source.Extensions.XAF.Model{
    internal static partial class Extensions{
        public static TNode GetParent<TNode>(this IModelNode modelNode) where TNode : class, IModelNode{
            if (modelNode is TNode node)
                return node;
            var parent = modelNode.Parent;
            while (!(parent is TNode)) {
                parent = parent.Parent;
                if (parent == null)
            return (TNode) parent;


The consumer modules link/compile this file only, minimizing the dependencies.

You can’t perform that action at this time.