Exemplo n.º 1
0
        /// <summary>
        /// Sets the content of the tree controller.
        /// </summary>
        /// <param name="treeController">The tree controller whose content is to be set.</param>
        /// <param name="content">The content of the tree controller.</param>
        /// <remarks>The MonoMac binding uses the incorrect type for the <paramref name="content"/> argument.</remarks>
        internal static void SetContent(this NSTreeController treeController, NSObject content)
        {
#if __UNIFIED__
            treeController.Content = content;
#else
            Messaging.void_objc_msgSend_IntPtr(treeController.Handle, selSetContentObjectHandle, content.Handle);
#endif // __UNIFIED__
        }
Exemplo n.º 2
0
 public OutlineViewDataSource(NSTreeController treeData)
 {
     TreeData = treeData;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the type OutlineViewDelegate.
 /// </summary>
 /// <param name="treeData">The tree data.</param>
 /// <param name="viewModel">The view model for the menu layout.</param>
 internal OutlineViewDelegate(NSTreeController treeData, LtoFlashViewModel viewModel)
 {
     TreeData  = treeData;
     ViewModel = viewModel;
 }