The LogicalChildren of a ContentControl is of ‘protected-type’ access. You can derive a custom class from it and then expose a public version of the ‘LogicalChildren’ property.
[C#]
public class SPanel : StackPanel
{
public System.Collections.IEnumerator LogicalChildren {
get {
return base.LogicalChildren;
}
}
}
Share with