Example #1
0
 public static ElementCollection <Section> Sections(this IElementContainer elementContainer)
 {
     return(elementContainer.ElementsOfType <Section>());
 }
Example #2
0
        internal sealed override ControlCollection <TControl> CreateControlCollection <TControl>(IElementContainer elementContainer)
        {
            var elementCollection = elementContainer.ElementsOfType <TElement>().Filter(ElementConstraint);

            return(ControlCollection <TControl> .CreateControlCollection(elementCollection));
        }
Example #3
0
 public static ElementCollection <Fieldset> Fieldsets(this IElementContainer elementContainer)
 {
     return(elementContainer.ElementsOfType <Fieldset>());
 }