示例#1
0
        partial void Initialize()
        {
#if !NETSTANDARD2_0
            _layouter = new FrameworkElementLayouter(this, MeasureOverride, ArrangeOverride);
#endif
            Resources = new Windows.UI.Xaml.ResourceDictionary();

            IFrameworkElementHelper.Initialize(this);
        }
示例#2
0
        partial void Initialize()
        {
#if !__WASM__
            _layouter = new FrameworkElementLayouter(this, MeasureOverride, ArrangeOverride);
#endif
            Resources = new Windows.UI.Xaml.ResourceDictionary();

            ((IDependencyObjectStoreProvider)this).Store.RegisterSelfParentChangedCallback((i, k, e) => InitializeStyle());

            IFrameworkElementHelper.Initialize(this);
        }