예제 #1
0
 internal static void AddCustomTemplateRoot(ContentPresenter container, TextBlock textBlock, bool p1, bool p2)
 {
     throw new NotImplementedException();
 }
예제 #2
0
 protected virtual void SetTextContent(string text)
 {
     if (text == string.Empty)
     {
         if (this.textContent != null && this.textContent.NativeUIElement != null)
         {
             this.RemoveLogicalChild(this.textContent);
             this.textContent.NativeUIElement.RemoveFromSuperview();
         }
         return;
     }
     this.textContent = new TextBlock { Text = text };
     this.textContent.ChangeLogicalParent(this);
     this.NativeUIElement.AddSubview(this.textContent.NativeUIElement);
 }