LinkPropertyPanel.h
#pragma once
namespace Core
{
/// <summary>
/// リンク プロパティパネル
/// </summary>
public ref class LinkPropertyPanel : public WeifenLuo::WinFormsUI::Docking::DockContent
{
// Construction --------------------------------------------------------
public:
LinkPropertyPanel( System::Object^ obj );
protected:
~LinkPropertyPanel();
// Operation -----------------------------------------------------------
private:
void InitializeComponent(void);
// Attribute ===========================================================
// Property ------------------------------------------------------------
public:
/// 表示されるオブジェクト
property System::Object^ SelectedObject
{
void set( System::Object^ value )
{
m_propertyGrid->SelectedObject = value;
// すべてのカテゴリを展開する
m_propertyGrid->ExpandAllGridItems();
}
}
//
// 以降は デザイナによって自動生成されたコード
//
private:
System::ComponentModel::Container ^components;
System::Windows::Forms::PropertyGrid^ m_propertyGrid;
};
}