コード例 #1
0
        /// <summary>
        /// Entry point into the C# Layouting that starts the Processing
        /// </summary>
        private void Process(int id)
        {
            // First layer in the Window should be the default layer (index 0 )
            uint numberOfLayers = _window.LayerCount;

            for (uint layerIndex = 0; layerIndex < numberOfLayers; layerIndex++)
            {
                Layer layer = _window.GetLayer(layerIndex);
                for (uint i = 0; i < layer.ChildCount; i++)
                {
                    View view = layer.GetChildAt(i);
                    FindRootLayouts(view);
                }
            }
        }