C# Class nature_net.user_controls.window_content

Interaction logic for window_content.xaml
Inheritance: System.Windows.Controls.UserControl, IVirtualKeyboardInjectable
Show file Open project: naturenet/nature-net-ppi Class Usage Examples

Public Properties

Property Type Description
center_keyboard bool

Public Methods

Method Description
CheckInitialText ( ) : bool
GetKeyboardFrame ( ) : UIElement
UpdateKeyboardPosition ( ) : void
cancel_comment_auth_clicked ( object sender, RoutedEventArgs e ) : void
cancel_comment_reply_clicked ( object sender, RoutedEventArgs e ) : void
comment_textbox_GotKeyboardFocus ( object sender, RoutedEventArgs e ) : void
comment_textbox_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
expander_Click ( object sender, RoutedEventArgs e ) : void
fade_error ( Object stateInfo ) : void
initialize_comments ( Contribution the_contribution ) : void
initialize_contents ( System.Windows.Controls.UserControl uc, Type obj_type, int obj_id, System.Windows.Controls.UserControl parent_frame, double width ) : void
initialize_contents ( System.Windows.Controls.UserControl uc, Type obj_type, int obj_id, System.Windows.Controls.UserControl parent_frame, string listbox_name ) : void
initialize_contents ( System.Windows.Controls.UserControl uc, bool is_design, System.Windows.Controls.UserControl parent_frame ) : void
item_dropped_on_leave_comment_area_auth ( object sender, SurfaceDragDropEventArgs e ) : void
list_all_comments ( ) : void
pin_LostFocus ( object sender, RoutedEventArgs e ) : void
submit_comment_auth_clicked ( object sender, RoutedEventArgs e ) : void
submit_comment_default_clicked ( object sender, RoutedEventArgs e ) : void
submit_comment_reply_clicked ( object sender, RoutedEventArgs e ) : void
submit_text ( RoutedEventArgs e ) : void
textbox_LostFocus ( object sender, RoutedEventArgs e ) : void
window_content ( ) : System
window_content_Loaded ( object sender, RoutedEventArgs e ) : void
window_content_Unloaded ( object sender, RoutedEventArgs e ) : void

Private Methods

Method Description
CheckTextBoxText ( ) : void
GetActiveTextBox ( ) : TextBox
GotoAuthMode ( ) : void
GotoDefaultMode ( ) : void
GotoReplyMode ( ) : void
PrepareForAuth ( ) : void
PrepareForReply ( ) : void
ToggleCommentsSection ( ) : void
item_selected ( object i, System.Windows.Input.TouchEventArgs e ) : bool
replybutton_clicked ( object sender, EventArgs e ) : void

Method Details

CheckInitialText() public method

public CheckInitialText ( ) : bool
return bool

GetKeyboardFrame() public method

public GetKeyboardFrame ( ) : UIElement
return UIElement

UpdateKeyboardPosition() public method

public UpdateKeyboardPosition ( ) : void
return void

cancel_comment_auth_clicked() public method

public cancel_comment_auth_clicked ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void

cancel_comment_reply_clicked() public method

public cancel_comment_reply_clicked ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void

comment_textbox_GotKeyboardFocus() public method

public comment_textbox_GotKeyboardFocus ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void

comment_textbox_SizeChanged() public method

public comment_textbox_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
sender object
e System.Windows.SizeChangedEventArgs
return void

expander_Click() public method

public expander_Click ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void

fade_error() public method

public fade_error ( Object stateInfo ) : void
stateInfo Object
return void

initialize_comments() public method

public initialize_comments ( Contribution the_contribution ) : void
the_contribution Contribution
return void

initialize_contents() public method

public initialize_contents ( System.Windows.Controls.UserControl uc, Type obj_type, int obj_id, System.Windows.Controls.UserControl parent_frame, double width ) : void
uc System.Windows.Controls.UserControl
obj_type System.Type
obj_id int
parent_frame System.Windows.Controls.UserControl
width double
return void

initialize_contents() public method

public initialize_contents ( System.Windows.Controls.UserControl uc, Type obj_type, int obj_id, System.Windows.Controls.UserControl parent_frame, string listbox_name ) : void
uc System.Windows.Controls.UserControl
obj_type System.Type
obj_id int
parent_frame System.Windows.Controls.UserControl
listbox_name string
return void

initialize_contents() public method

public initialize_contents ( System.Windows.Controls.UserControl uc, bool is_design, System.Windows.Controls.UserControl parent_frame ) : void
uc System.Windows.Controls.UserControl
is_design bool
parent_frame System.Windows.Controls.UserControl
return void

item_dropped_on_leave_comment_area_auth() public method

public item_dropped_on_leave_comment_area_auth ( object sender, SurfaceDragDropEventArgs e ) : void
sender object
e SurfaceDragDropEventArgs
return void

list_all_comments() public method

public list_all_comments ( ) : void
return void

pin_LostFocus() public method

public pin_LostFocus ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void

submit_comment_auth_clicked() public method

public submit_comment_auth_clicked ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void

submit_comment_default_clicked() public method

public submit_comment_default_clicked ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void

submit_comment_reply_clicked() public method

public submit_comment_reply_clicked ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void

submit_text() public method

public submit_text ( RoutedEventArgs e ) : void
e System.Windows.RoutedEventArgs
return void

textbox_LostFocus() public method

public textbox_LostFocus ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void

window_content() public method

public window_content ( ) : System
return System

window_content_Loaded() public method

public window_content_Loaded ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void

window_content_Unloaded() public method

public window_content_Unloaded ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void

Property Details

center_keyboard public property

public bool center_keyboard
return bool