コード例 #1
0
        internal bool IsAutomaticExpand(string propertyName)
        {
            ExpandConfiguration expandConfiguration;

            if (ExpandConfigurations.TryGetValue(propertyName, out expandConfiguration))
            {
                return(expandConfiguration.ExpandType == SelectExpandType.Automatic);
            }
            else
            {
                return(DefaultExpandType.HasValue && DefaultExpandType == SelectExpandType.Automatic);
            }
        }
コード例 #2
0
        internal bool Expandable(string propertyName)
        {
            ExpandConfiguration expandConfiguration;

            if (ExpandConfigurations.TryGetValue(propertyName, out expandConfiguration))
            {
                return(expandConfiguration.ExpandType != SelectExpandType.Disabled);
            }
            else
            {
                return(DefaultExpandType.HasValue && DefaultExpandType != SelectExpandType.Disabled);
            }
        }