PRIMAVERA | Developers

    Show / Hide Table of Contents

    Class StdBSPRibbon

    Classe de gestão da Ribbon.

    Inheritance
    System.Object
    StdBSPRibbon
    Implements
    IStdBSPRibbon
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: StdPlatBS100
    Assembly: StdPlatBS100.dll
    Syntax
    [ComVisible(true)]
    [Guid("98E4600B-66FC-4EE2-85DE-0C9C66DC4810")]
    [ClassInterface(ClassInterfaceType.None)]
    public class StdBSPRibbon : IStdBSPRibbon

    Constructors

    StdBSPRibbon()

    Declaration
    public StdBSPRibbon()

    Methods

    CriaRibbonButton(String, String, String, String, Boolean, Image, Int32)

    Declaration
    public void CriaRibbonButton(string tabId, string groupId, string Id, string strDescricao, bool BotaoGrande, Image imgImagem, int intIndex = 0)
    Parameters
    Type Name Description
    System.String tabId
    System.String groupId
    System.String Id
    System.String strDescricao
    System.Boolean BotaoGrande
    System.Drawing.Image imgImagem
    System.Int32 intIndex

    CriaRibbonGroup(String, String, String)

    Declaration
    public void CriaRibbonGroup(string tabId, string strDescricao, string Id)
    Parameters
    Type Name Description
    System.String tabId
    System.String strDescricao
    System.String Id

    CriaRibbonTab(String, String, Int32)

    Declaration
    public void CriaRibbonTab(string Descricao, string Id, int Index = -1)
    Parameters
    Type Name Description
    System.String Descricao
    System.String Id
    System.Int32 Index

    RemoveBotao(String)

    Remove botão

    Declaration
    public void RemoveBotao(string Id)
    Parameters
    Type Name Description
    System.String Id

    Botão que vai ser removido.

    RemoveGrupo(String, String)

    Remove Grupo

    Declaration
    public void RemoveGrupo(string tabId, string groupId)
    Parameters
    Type Name Description
    System.String tabId
    System.String groupId

    RemoveTab(String)

    Remove uma Tab da Ribbon

    Declaration
    public void RemoveTab(string tabId)
    Parameters
    Type Name Description
    System.String tabId

    Events

    Executa

    Declaration
    public event StdBSPRibbon.ExecutaHandler Executa
    Event Type
    Type Description
    StdBSPRibbon.ExecutaHandler

    Implements

    IStdBSPRibbon