Beispiel #1
0
        protected override void CreateChildElements()
        {
            base.CreateChildElements();

            this.buttonsPanel = new RadPageViewItemButtonsPanel(this);
            this.Children.Add(this.buttonsPanel);
        }
Beispiel #2
0
 protected override void CreateChildElements()
 {
     base.CreateChildElements();
     this.buttonsPanel = this.CreateButtonsPanel();
     this.Children.Add((RadElement)this.buttonsPanel);
     int num1 = (int)this.ButtonsPanel.CloseButton.BindProperty(RadPageViewButtonElement.IsSelectedProperty, (RadObject)this, RadPageViewItem.IsSelectedProperty, PropertyBindingOptions.TwoWay);
     int num2 = (int)this.ButtonsPanel.PinButton.BindProperty(RadPageViewButtonElement.IsSelectedProperty, (RadObject)this, RadPageViewItem.IsSelectedProperty, PropertyBindingOptions.TwoWay);
     int num3 = (int)this.ButtonsPanel.PinButton.BindProperty(RadPageViewPinButtonElement.IsPinnedProperty, (RadObject)this, RadPageViewItem.IsPinnedProperty, PropertyBindingOptions.TwoWay);
     int num4 = (int)this.ButtonsPanel.PinButton.BindProperty(RadPageViewPinButtonElement.IsPreviewProperty, (RadObject)this, RadPageViewItem.IsPreviewProperty, PropertyBindingOptions.TwoWay);
 }