Determines the panels' visibility in the client application. In AlgoStudio all rules are false.


SYNTAX


public bool IsVisible (Rule rule)


PARAMETERS


rule — Rule

Panel's code


RETURN


bool Returns true when panel's visibility is allowed for this user


EXAMPLE


The example below displays the accessibility of the Matrix panel:

public override void Init()
{
  Account my = Accounts.Current;
    Print(my.IsVisible(Rule.Matrix));    
}