SetIsActivated() приватный Метод

private SetIsActivated ( bool value ) : void
value bool
Результат void
Пример #1
0
        internal void SetActiveContent()
        {
            DockContent value = ActivePane == null ? null : ActivePane.ActiveContent;

            if (m_activeContent == value)
            {
                return;
            }

            if (m_activeContent != null)
            {
                m_activeContent.SetIsActivated(false);
            }

            m_activeContent = value;

            if (m_activeContent != null)
            {
                m_activeContent.SetIsActivated(true);
            }

            OnActiveContentChanged(EventArgs.Empty);
        }
Пример #2
0
        internal void SetActiveContent()
        {
            DockContent value = ActivePane == null ? null : ActivePane.ActiveContent;

            if (m_activeContent == value)
                return;

            if (m_activeContent != null)
                m_activeContent.SetIsActivated(false);

            m_activeContent = value;

            if (m_activeContent != null)
                m_activeContent.SetIsActivated(true);

            OnActiveContentChanged(EventArgs.Empty);
        }