Table of contents
TOC
Collapse the table of content
Expand the table of content

ClientSidePage.AddControl Method

SharePoint Dev Documents|Last Updated: 9/8/2017
|
1 Contributor

Adds a new control to your client side page in the given section with a given order

Namespace:OfficeDevPnP.Core.Pages
Assembly: OfficeDevPnP.Core.dll

Syntax

public void AddControl(CanvasControl control, CanvasSection section, Int32 order)

Parameters

control

  Type: OfficeDevPnP.Core.Pages.CanvasControl
   to add

section

  Type: OfficeDevPnP.Core.Pages.CanvasSection
   that will hold the control. Control will end up in the .

order

  Type: System.Int32
  Order of the control in the given section

Return Value

Type: void

See also

© 2018 Microsoft