示例#1
0
        protected override DependencyObject GetContainerForItemOverride()
        {
            var result = ContainerCustomisations != null && ContainerCustomisations.GetContainerForItemOverride != null
                ? ContainerCustomisations.GetContainerForItemOverride()
                : new DragablzItem();

            return(result);
        }
        protected override DependencyObject GetContainerForItemOverride( )
        {
            var result = ContainerCustomisations?.GetContainerForItemOverride != null
                ? ContainerCustomisations.GetContainerForItemOverride( )
                : new DragablzItem( );

            result.SizeChanged += ItemSizeChangedEventHandler;

            return(result);
        }
示例#3
0
        protected override DependencyObject GetContainerForItemOverride()
        {
            var result = ContainerCustomisations != null && ContainerCustomisations.GetContainerForItemOverride != null
                ? ContainerCustomisations.GetContainerForItemOverride()
                : new DragablzItem();

            _itemsPendingInitialArrangement.Add(result);

            return(result);
        }