void Initialize() { InitializeBinder(); IFrameworkElementHelper.Initialize(this); _layouter = new ImageLayouter(this); }
private string _inlinesText; // Text derived from the content of Inlines #if !__WASM__ public TextBlock() { IFrameworkElementHelper.Initialize(this); InitializeProperties(); InitializePartial(); }
private void Initialize() { BackgroundColor = UIColor.Clear; IFrameworkElementHelper.Initialize(this); OnDisplayMemberPathChangedPartial(string.Empty, this.DisplayMemberPath); }
public ContentPresenter() { InitializeContentPresenter(); IFrameworkElementHelper.Initialize(this); this.RegisterLoadActions(UpdateBorder, () => _borderRenderer.Clear()); }
public Picker() { IFrameworkElementHelper.Initialize(this); this.InitializeBinder(); AutoresizingMask = UIViewAutoresizing.None; OnDisplayMemberPathChangedPartial(string.Empty, this.DisplayMemberPath); this.Model = new PickerModel(this); }
public ListView() : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { NativeInstanceHelper.CreateNativeInstance(base.GetType(), this, ContextHelper.Current, base.SetHandle); InitializeBinder(); IFrameworkElementHelper.Initialize(this); SetClipToPadding(false); ScrollBarStyle = ScrollbarStyles.OutsideOverlay; // prevents padding from affecting scrollbar position _secondaryPool = new AbsListViewSecondaryPool(TryGetItemViewTypeFromItem, _customViewTypeCount); SetRecyclerListener(_secondaryPool); }
public GridView() : base(ContextHelper.Current) { IFrameworkElementHelper.Initialize(this); StretchMode = Android.Widget.StretchMode.StretchColumnWidth; BindableAdapter.ItemContainerTemplate = () => new GridViewItem() { ShouldHandlePressed = false }; BindableAdapter.ItemContainerHolderStretchOrientation = Orientation.Horizontal; BindableAdapter.ItemContainerStyle = ItemContainerStyle; SetClipToPadding(false); ScrollBarStyle = ScrollbarStyles.OutsideOverlay; // prevents padding from affecting scrollbar position }
public NativeScrollContentPresenter() { Scrolled += OnScrolled; ViewForZoomingInScrollView = _ => Content as UIView; DidZoom += OnZoom; DraggingStarted += OnDraggingStarted; DraggingEnded += OnDraggingEnded; DecelerationEnded += OnDecelerationEnded; ScrollAnimationEnded += OnScrollAnimationEnded; if (ScrollViewer.UseContentInsetAdjustmentBehavior) { ContentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentBehavior.Never; } IFrameworkElementHelper.Initialize(this); }
private void Initialize() { BackgroundColor = UIColor.Clear; IFrameworkElementHelper.Initialize(this); var internalContainerType = typeof(ListViewBaseInternalContainer); RegisterClassForCell(internalContainerType, ListViewItemReuseIdentifier); RegisterClassForSupplementaryView(internalContainerType, ListViewHeaderElementKindNS, ListViewHeaderReuseIdentifier); RegisterClassForSupplementaryView(internalContainerType, ListViewFooterElementKindNS, ListViewFooterReuseIdentifier); RegisterClassForSupplementaryView(internalContainerType, ListViewSectionHeaderElementKindNS, ListViewSectionHeaderReuseIdentifier); DelaysContentTouches = true; ShowsHorizontalScrollIndicator = true; ShowsVerticalScrollIndicator = true; if (ScrollViewer.UseContentInsetAdjustmentBehavior) { ContentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentBehavior.Never; } }
partial void Initialize() { _children = new UIElementCollection(this); IFrameworkElementHelper.Initialize(this); }
private void Initialize() { BackgroundColor = UIColor.Clear; IFrameworkElementHelper.Initialize(this); }
partial void InitializePartial() { IFrameworkElementHelper.Initialize(this); }
public HorizontalGridView() { InitializeBinder(); IFrameworkElementHelper.Initialize(this); }
public HorizontalListView() : base(ContextHelper.Current, null) { InitializeBinder(); SetClipToPadding(false); IFrameworkElementHelper.Initialize(this); }
public ContentControl() { IFrameworkElementHelper.Initialize(this); }
public ContentPresenter() { InitializeContentPresenter(); IFrameworkElementHelper.Initialize(this); }