// Token: 0x0600872E RID: 34606 RVA: 0x0024F188 File Offset: 0x0024D388
            private UIElement DefaultExpansion(object content, ContentPresenter container)
            {
                if (content == null)
                {
                    return(null);
                }
                TextBlock textBlock = ContentPresenter.CreateTextBlock(container);

                textBlock.IsContentPresenterContainer = true;
                if (container != null)
                {
                    StyleHelper.AddCustomTemplateRoot(container, textBlock, false, true);
                }
                this.DoDefaultExpansion(textBlock, content, container);
                return(textBlock);
            }