Ejemplo n.º 1
0
        public BrowsePivot(IModelItemOwner owner, string stDescription, string stNoContentText, IList listContent)
            : base(owner, stDescription)
        {
            this.m_stNoContentText   = stNoContentText;
            this.m_listContent       = listContent;
            this.m_stContentTemplate = StandardGalleryTemplate;
            this.m_stDetailTemplate  = StandardDetailTemplate;
            CustomSelectionPolicy policy = new CustomSelectionPolicy();

            policy.SelectOnGainFocus         = true;
            policy.ClearSelectionOnLostFocus = true;
            this.m_policyContent             = policy;
        }
Ejemplo n.º 2
0
 public BrowsePivot(IModelItemOwner owner, string stDescription, string stNoContentText, IList listContent)
     : base(owner, stDescription)
 {
     this.m_stNoContentText = stNoContentText;
     this.m_listContent = listContent;
     this.m_stContentTemplate = StandardGalleryTemplate;
     this.m_stDetailTemplate = StandardDetailTemplate;
     CustomSelectionPolicy policy = new CustomSelectionPolicy();
     policy.SelectOnGainFocus = true;
     policy.ClearSelectionOnLostFocus = true;
     this.m_policyContent = policy;
 }