Exemple #1
0
 public void FindElsWithLayoutClip()
 {
     foreach (var fe in FENode.Flatten(new FENode(this)))
     {
         var lc = LayoutInformation.GetLayoutClip(fe);
         var ls = LayoutInformation.GetLayoutSlot(fe);
     }
 }
Exemple #2
0
 public static IEnumerable<FrameworkElement> Flatten(FENode node)
 {
     yield return node._Element;
     foreach (var child in node.Children)
     {
         foreach (var granchild in Flatten(child))
         {
             yield return granchild;
         }
     }
 }
Exemple #3
0
        public static IEnumerable <FrameworkElement> Flatten(FENode node)
        {
            yield return(node._Element);

            foreach (var child in node.Children)
            {
                foreach (var granchild in Flatten(child))
                {
                    yield return(granchild);
                }
            }
        }
Exemple #4
0
 void MainPage_LayoutUpdated(object sender, EventArgs e)
 {
     var node = new FENode(this);
     FindElsWithLayoutClip();
 }
Exemple #5
0
        void MainPage_LayoutUpdated(object sender, EventArgs e)
        {
            var node = new FENode(this);

            FindElsWithLayoutClip();
        }