AerialForWindows.UIHelper.TabControlEx.OnApplyTemplate C# (CSharp) Méthode

OnApplyTemplate() public méthode

public OnApplyTemplate ( ) : void
Résultat void
        public override void OnApplyTemplate()
        {
            base.OnApplyTemplate();

            var contentHost = GetTemplateChild("PART_SelectedContentHost") as FrameworkElement;
            Debug.Assert(contentHost != null);

            contentHost.SetBinding(MinWidthProperty, new Binding {
                Path = new PropertyPath("Items"),
                Source = this,
                Converter = new MaxDimensionConverter(false)
            });
            contentHost.SetBinding(MinHeightProperty, new Binding {
                Path = new PropertyPath("Items"),
                Source = this,
                Converter = new MaxDimensionConverter(true)
            });
        }
TabControlEx